Fix doc-required-mismatch

This commit is contained in:
Tristan Cacqueray
2020-02-12 12:04:45 +00:00
parent c4f5d254ca
commit 3bab767762

View File

@@ -100,10 +100,10 @@ class KubernetesExecCommand(KubernetesAnsibleModule):
@property @property
def argspec(self): def argspec(self):
spec = copy.deepcopy(AUTH_ARG_SPEC) spec = copy.deepcopy(AUTH_ARG_SPEC)
spec['namespace'] = {'type': 'str'} spec['namespace'] = dict(type='str', required=True)
spec['pod'] = {'type': 'str'} spec['pod'] = dict(type='str', required=True)
spec['container'] = {'type': 'str'} spec['container'] = dict(type='str', required=True)
spec['command'] = {'type': 'str'} spec['command'] = dict(type='str', required=True)
return spec return spec