Skip to content

Commit b4338e7

Browse files
Adjust configs
1 parent e081349 commit b4338e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cdpy/dw.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ def create_vw(self, cluster_id:str, dbc_id:str, vw_type:str, name:str, template:
121121
tag_list.append({'key': key, 'value': value})
122122

123123
config = {}
124-
if not common_configs is None:
124+
if not common_configs is None and not common_configs:
125125
config['commonConfigs'] = common_configs
126-
if not application_configs is None:
126+
if not application_configs is None and not application_configs:
127127
config['applicationConfigs'] = application_configs
128-
if not ldap_groups is None:
128+
if not ldap_groups is None and not ldap_groups:
129129
config['ldapGroups'] = ldap_groups
130130
if not enable_sso is None:
131131
config['enableSSO'] = enable_sso

0 commit comments

Comments
 (0)