diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2015-07-03 12:21:09 +0200 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2015-07-08 00:35:05 +0200 |
commit | ea7f392bb98c1f1c4558ec5d6e84ee7a7c613474 (patch) | |
tree | 77d8a5f0b0737f97a364265dd15d190838b15347 /ipalib/constants.py | |
parent | 1d9bdb240943527e1e19704acd183eae254267ae (diff) | |
download | freeipa-ea7f392bb98c1f1c4558ec5d6e84ee7a7c613474.tar.gz freeipa-ea7f392bb98c1f1c4558ec5d6e84ee7a7c613474.tar.xz freeipa-ea7f392bb98c1f1c4558ec5d6e84ee7a7c613474.zip |
add option to skip client API version check
This can be either set in IPA config file or specified as
'ipa --skip-version-check [COMMAND]'.
part of https://fedorahosted.org/freeipa/ticket/4768
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r-- | ipalib/constants.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py index fac937b5d..1509151ba 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -188,6 +188,10 @@ DEFAULT_CONFIG = ( # Used when verifying that the API hasn't changed. Not for production. ('validate_api', False), + # Skip client vs. server API version checking. Can lead to errors/strange + # behavior when newer clients talk to older servers. Use with caution. + ('skip_version_check', False), + # ******************************************************** # The remaining keys are never set from the values here! # ******************************************************** |