Merge pull request #1838 from simonferquel/remove-context-in-function-names

Remove "context" from context store interfaces function names
This commit is contained in:
Sebastiaan van Stijn
2019-04-18 18:38:01 +02:00
committed by GitHub
26 changed files with 176 additions and 176 deletions

View File

@ -153,7 +153,7 @@ func withHTTPClient(tlsConfig *tls.Config) func(*client.Client) error {
}
// EndpointFromContext parses a context docker endpoint metadata into a typed EndpointMeta structure
func EndpointFromContext(metadata store.ContextMetadata) (EndpointMeta, error) {
func EndpointFromContext(metadata store.Metadata) (EndpointMeta, error) {
ep, ok := metadata.Endpoints[DockerEndpoint]
if !ok {
return EndpointMeta{}, errors.New("cannot find docker endpoint in context")