diff --git a/chaos_monkey/config.py b/chaos_monkey/config.py index bc1d7a4b3..f1f06a76f 100644 --- a/chaos_monkey/config.py +++ b/chaos_monkey/config.py @@ -13,6 +13,7 @@ GUID = str(uuid.getnode()) EXTERNAL_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), 'monkey.bin') + def _cast_by_example(value, example): """ a method that casts a value to the type of the parameter given as example