mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #31354 from ticosax/dont-require-auth-for-all-registries
[dockerng] Dont require auth for all registries
This commit is contained in:
commit
174ee10fc2
1 changed files with 0 additions and 2 deletions
|
@ -921,8 +921,6 @@ def _image_wrapper(attr, *args, **kwargs):
|
|||
'execution module documentation for information on how to '
|
||||
'configure authentication.'
|
||||
)
|
||||
if not registry_auth_config:
|
||||
raise SaltInvocationError(err.format('Missing', ''))
|
||||
try:
|
||||
for registry, creds in six.iteritems(registry_auth_config):
|
||||
__context__['docker.client'].login(
|
||||
|
|
Loading…
Add table
Reference in a new issue