Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Nov 21, 2023
1 parent 7d8e9c6 commit 55dc662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions performance_measurement/metrics_api_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def start(self, apiclient: ApiClient, operator_name: str, ):
for pod in stats['items']:
print(pod['metadata']['name'])
pod_name = pod['metadata']['name']
if pod_name == "etcd-kind-control-plane":
if pod_name == "etcd-anvil-control-plane":
pod_metrics = pod
pod_metrics['timestamp'] = pod['timestamp']
elif pod_name == operator_name:
elif operator_name in pod_name:
pod_metrics = pod
pod_metrics['timestamp'] = pod['timestamp']

Expand Down

0 comments on commit 55dc662

Please sign in to comment.