Skip to content

Commit

Permalink
lint: Fix openstack schema issues (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev authored Dec 11, 2024
1 parent 43f9639 commit 0e82e75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openstack-mixin/panels.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ local utils = commonlib.utils;
)
+ gauge.queryOptions.withTargetsMixin(t.vCPUUsed)
+ gauge.standardOptions.withUnit('percent')
+ gauge.standardOptions.withMin('0')
+ gauge.standardOptions.withMax('150')
+ gauge.standardOptions.withMin(0)
+ gauge.standardOptions.withMax(150)
+ gauge.standardOptions.thresholds.withSteps([
gauge.standardOptions.threshold.step.withValue(0) +
gauge.standardOptions.threshold.step.withColor('green'),
Expand All @@ -288,8 +288,8 @@ local utils = commonlib.utils;
)
+ gauge.queryOptions.withTargetsMixin(t.RAMUsed)
+ gauge.standardOptions.withUnit('percent')
+ gauge.standardOptions.withMin('0')
+ gauge.standardOptions.withMax('150')
+ gauge.standardOptions.withMin(0)
+ gauge.standardOptions.withMax(150)
+ gauge.standardOptions.thresholds.withSteps([
gauge.standardOptions.threshold.step.withValue(0) +
gauge.standardOptions.threshold.step.withColor('green'),
Expand Down

0 comments on commit 0e82e75

Please sign in to comment.