    # File lib/fog/aws/models/compute/volumes.rb, line 65
            def all(filters = filters)
              unless filters.is_a?(Hash)
                Fog::Logger.deprecation("all with #{filters.class} param is deprecated, use all('volume-id' => []) instead [light_black](#{caller.first})[/]")
                filters = {'volume-id' => [*filters]}
              end
              self.filters = filters
              data = connection.describe_volumes(filters).body
              load(data['volumeSet'])
              if server
                self.replace(self.select {|volume| volume.server_id == server.id})
              end
              self
            end