Set default for email parameter to None

reviewable/pr18780/r1
Olaf Kilian 9 years ago
parent e86131c62f
commit c3d15a56cf

@ -46,9 +46,9 @@ options:
required: true required: true
email: email:
description: description:
- The email address for the registry account - The email address for the registry account. Note that private registries usually don't need this, but if you want to log into your Docker Hub account (default behaviour) you need to specify this in order to be able to log in.
required: false required: false
default: anonymous@localhost.local default: None
reauth: reauth:
description: description:
- Whether refresh existing authentication on the Docker server (boolean) - Whether refresh existing authentication on the Docker server (boolean)
@ -218,7 +218,7 @@ def main():
registry = dict(required=False, default='https://index.docker.io/v1/'), registry = dict(required=False, default='https://index.docker.io/v1/'),
username = dict(required=True), username = dict(required=True),
password = dict(required=True), password = dict(required=True),
email = dict(required=False, default='anonymous@localhost.local'), email = dict(required=False, default=None),
reauth = dict(required=False, default=False, type='bool'), reauth = dict(required=False, default=False, type='bool'),
dockercfg_path = dict(required=False, default='~/.dockercfg'), dockercfg_path = dict(required=False, default='~/.dockercfg'),
docker_url = dict(default='unix://var/run/docker.sock'), docker_url = dict(default='unix://var/run/docker.sock'),

Loading…
Cancel
Save