Skip to content

Commit 443b2c3

Browse files
author
Ubuntu
committed
fix decorator
1 parent e01c295 commit 443b2c3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

config/validated_config_db_connector.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
from generic_config_updater.generic_updater import GenericUpdater, ConfigFormat
55

6-
def ValidatedConfigDBConnector(config_db_connector):
7-
config_db_connector.set_entry = validated_set_entry
6+
def ValidatedConfigDBConnector(config_db_connector, fallback_adhoc_validation):
7+
if not fallback_adhoc_validation:
8+
config_db_connector.set_entry = validated_set_entry
89
return config_db_connector
910

1011
def make_path_value_jsonpatch_compatible(table, key, value):

0 commit comments

Comments
 (0)