Skip to content

Commit febd854

Browse files
authored
[OIDC] Add missing pr comment resolution (#181)
# Summary Related to this comment on the OIDC test PR. #55 (comment)
1 parent 7a73bf1 commit febd854

File tree

1 file changed

+1
-6
lines changed
  • docker/mongodb-kubernetes-tests/kubetester

1 file changed

+1
-6
lines changed

docker/mongodb-kubernetes-tests/kubetester/mongodb.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,12 +385,7 @@ def set_oidc_provider_configs(self, oidc_provider_configs: Dict):
385385
def append_oidc_provider_config(self, new_config: Dict):
386386
if "oidcProviderConfigs" not in self["spec"]["security"]["authentication"]:
387387
self["spec"]["security"]["authentication"]["oidcProviderConfigs"] = []
388-
389-
oidc_configs = self["spec"]["security"]["authentication"]["oidcProviderConfigs"]
390-
391-
oidc_configs.append(new_config)
392-
393-
self["spec"]["security"]["authentication"]["oidcProviderConfigs"] = oidc_configs
388+
self["spec"]["security"]["authentication"]["oidcProviderConfigs"].append(new_config)
394389

395390
return self
396391

0 commit comments

Comments
 (0)