Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Feb 9, 2024
1 parent c614f17 commit 993de16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ec_cli/cmds/k8s_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,18 +158,18 @@ def ps(self, all: bool, wide: bool):
helm_json = shell.run_command(
f"helm list -n {self.namespace} -o json", interactive=False
)
df = pd.read_json(StringIO(helm_json))
df = pd.read_json(StringIO(str(helm_json)))
log.debug(df)

if not all:
services_csv = shell.run_command(
f"kubectl get pods -n {self.namespace} {json_service_info}",
interactive=False,
)
pods_df = pd.read_csv(
StringIO(services_csv),
names=json_service_types.keys(),
dtype=json_service_types,
pods_df = pd.read_csv( # type: ignore
StringIO(str(services_csv)),
names=json_service_types.keys(), # type: ignore
dtype=json_service_types, # type: ignore
)
log.debug(pods_df)

Expand Down

0 comments on commit 993de16

Please sign in to comment.