diff --git a/aws/config.go b/aws/config.go index 7acc149030f..77c97de9a46 100644 --- a/aws/config.go +++ b/aws/config.go @@ -79,18 +79,11 @@ type Config struct { // for testing that do not support the modeled host prefix pattern. DisableEndpointHostPrefix bool - // ConfigSources are the sources that were used to the aws.Config. + // ConfigSources are the sources that were used to construct the Config. // Allows for additional configuration can be loaded by clients. ConfigSources []interface{} } -// ConfigResolver is an interface that encapsulates the behavior of loading -// additional configuration. -type ConfigResolver interface { - // ResolveConfig calls the provide function passing a slice of configuration sources - ResolveConfig(func(configs []interface{}) error) error -} - // NewConfig returns a new Config pointer that can be chained with builder // methods to set multiple configuration values inline without using pointers. func NewConfig() *Config {