Skip to content

Commit

Permalink
Cleanup docstring, removed unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Jan 27, 2020
1 parent e193a2d commit 9873b2e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9873b2e

Please sign in to comment.