Merge pull request #23584 from nishanttotla/private-images-swarm-services

Passing registry auth token for service create, update
Upstream-commit: 8fe6480c8a26f80fe174ae93e1b380bb7ec6083c
Component: engine
This commit is contained in:
Tõnis Tiigi
2016-06-30 17:18:59 -07:00
committed by GitHub
14 changed files with 124 additions and 22 deletions

View File

@ -44,7 +44,6 @@ func (c *containerAdapter) pullImage(ctx context.Context) error {
var encodedAuthConfig string
if spec.PullOptions != nil {
encodedAuthConfig = spec.PullOptions.RegistryAuth
}
authConfig := &types.AuthConfig{}