From 9873b2e8055577685ac7e702be24b9f70c92b1f8 Mon Sep 17 00:00:00 2001 From: Sean McGrail Date: Mon, 27 Jan 2020 12:41:07 -0800 Subject: [PATCH] Cleanup docstring, removed unused type --- aws/config.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 {