Fix required_one_of in timezone module (#20185)

This commit is contained in:
Jasper Lievisse Adriaanse 2017-01-12 17:35:14 +01:00 committed by John R Barker
parent 2538383cf4
commit 2ea5bb8dbb

View file

@ -437,7 +437,7 @@ def main():
hwclock=dict(default=None, choices=['UTC', 'local'], aliases=['rtc']),
name=dict(default=None),
),
required_one_of=['hwclock', 'name'],
required_one_of=[['hwclock', 'name']],
supports_check_mode=True
)
tz = Timezone(module)