Skip to content

Commit

Permalink
taking out f and e
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 committed Oct 8, 2024
1 parent 624e5b8 commit 1628c55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/krkn_lib/telemetry/ocp/krkn_telemetry_openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def get_vm_number(self) -> int:

json_obj = ast.literal_eval(data[0])
return len(json_obj["items"])
except Exception as e:
logging.info(f"failed to parse virtualmachines API")
except Exception:
logging.info("failed to parse virtualmachines API")
return 0
return 0

0 comments on commit 1628c55

Please sign in to comment.