Skip to content

Commit

Permalink
Fix code quality from snyk
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindsjovold committed Dec 4, 2024
1 parent 0c37b44 commit 8943ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isar/config/keyvault/keyvault_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def set_secret(self, secret_name: str, secret_value) -> None:
raise KeyvaultError # type: ignore

def get_secret_client(self) -> SecretClient:
if self.client == None:
if self.client is None:
try:
credential: Union[ClientSecretCredential, DefaultAzureCredential]
if self.client_id and self.client_secret and self.tenant_id:
Expand Down

0 comments on commit 8943ea5

Please sign in to comment.