Skip to content

Commit

Permalink
fix: CI fix
Browse files Browse the repository at this point in the history
Signed-off-by: 35C4n0r <[email protected]>
  • Loading branch information
35C4n0r committed Sep 15, 2024
1 parent 28b10a5 commit ac72aa6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions keep/providers/sumologic_provider/sumologic_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"""

import dataclasses
import json
import tempfile
from datetime import datetime
from pathlib import Path
from typing import List, Optional
Expand Down Expand Up @@ -133,7 +131,6 @@ def validate_scopes(self) -> dict[str, bool | str]:
perms = {"manageScheduledViews", "manageConnections", "manageUsersAndRoles"}
self.logger.info("Validating SumoLogic authentication.")
try:
x = self.__get_url(paths=["account", "accountOwner"])
account_owner_response = requests.get(
url=self.__get_url(paths=["account", "accountOwner"]),
auth=self.__get_auth(),
Expand All @@ -149,7 +146,7 @@ def validate_scopes(self) -> dict[str, bool | str]:
else:
account_owner_response = account_owner_response.json()
self.logger.error(
f"Error while getting UserID",
"Error while getting UserID",
extra={"error": str(account_owner_response)},
)
return {
Expand Down

0 comments on commit ac72aa6

Please sign in to comment.