Skip to content

Commit

Permalink
add storagepod defaul label
Browse files Browse the repository at this point in the history
This change was missing for the DatastoreAlertCollector
  • Loading branch information
Richard Tief committed Jul 28, 2023
1 parent 769a122 commit 3a679ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions collectors/DatastoreAlertCollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ def get_labels(self, resource_id, project_ids):

if sc_name := self.datastores[resource_id].get('storage_cluster_name'):
label_values.append(sc_name)
else:
label_values.append("none")

return label_values

0 comments on commit 3a679ff

Please sign in to comment.