Fix typo and copyright statement

This commit is contained in:
Dag Wieers 2018-01-08 22:14:55 +01:00 committed by GitHub
commit dca5d9bbd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,9 @@
# still belong to the author of the module, and may assign their own license # still belong to the author of the module, and may assign their own license
# to the complete work. # to the complete work.
# Copyright 2017 Dag Wieers <dag@wieers.com> # Copyright: (c) 2017, Dag Wieers <dag@wieers.com>
# Copyright 2017 Swetha Chunduri (@schunduri) # Copyright: (c) 2017, Jacob McGill (@jmcgill298)
# Copyright: (c) 2017, Swetha Chunduri (@schunduri)
# All rights reserved. # All rights reserved.
# Redistribution and use in source and binary forms, with or without modification, # Redistribution and use in source and binary forms, with or without modification,
@ -176,7 +177,7 @@ class ACIModule(object):
if self.params['private_key'] is None: if self.params['private_key'] is None:
if self.params['password'] is None: if self.params['password'] is None:
self.module.fail(msg="Parameter 'password' is required for HTTP authentication") self.module.fail_json(msg="Parameter 'password' is required for HTTP authentication")
# Only log in when password-based authentication is used # Only log in when password-based authentication is used
self.login() self.login()
elif not HAS_OPENSSL: elif not HAS_OPENSSL: