Skip to content

Commit

Permalink
test-scan-capacity: unknown resource is not a fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
majewsky committed Jan 10, 2024
1 parent 70f261a commit 4a04ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func taskTestScanCapacity(cluster *core.Cluster, args []string) {
for srvType, srvCapacities := range capacities {
for resName := range srvCapacities {
if !cluster.HasResource(srvType, resName) {
logg.Fatal("Scrape reported capacity for unknown resource: %s/%s", srvType, resName)
logg.Error("Scrape reported capacity for unknown resource: %s/%s", srvType, resName)
}
}
}
Expand Down

0 comments on commit 4a04ef8

Please sign in to comment.