Skip to content

Commit

Permalink
rptest: fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
savex committed Nov 28, 2023
1 parent da24a7c commit 2df9119
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/rptest/services/cloud_broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def __init__(self, pod, kubectl, logger) -> None:
self.operating_system = 'k8s'
self._meta = pod['metadata']
self.name = self._meta['name']
self.slot_id = int(self._meta['labels'][
'operator.redpanda.com/node-id'])
self.slot_id = int(
self._meta['labels']['operator.redpanda.com/node-id'])
self.uuid = self._meta['uid']

# Save other data
Expand Down
2 changes: 1 addition & 1 deletion tests/rptest/services/redpanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ def start(self, **kwargs):
_pods = json.loads(_r.decode())
for p in _pods['items']:
if not p['metadata']['name'].startswith(
f"rp-{self._cloud_cluster.config.id}"):
f"rp-{self._cloud_cluster.config.id}"):
continue
else:
_node = CloudBroker(p, self._kubectl, self.logger)
Expand Down

0 comments on commit 2df9119

Please sign in to comment.