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:
@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user