Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev committed Oct 17, 2023
1 parent 9ff9092 commit 0edca29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions common-lib/common/panels/disk/table/usage.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ base {
if !(std.objectHas(totalTarget, 'instant') && std.assertEqual(totalTarget.instant, true)) then error 'totalTarget must be type instant',
if !(std.objectHas(usageTarget, 'format') && std.assertEqual(usageTarget.format, 'table')) then error 'usageTarget format must be "table"',
if !(std.objectHas(usageTarget, 'instant') && std.assertEqual(usageTarget.instant, true)) then error 'usageTarget must be type instant',
// if std.length(std.findSubstr(groupLabel, totalTarget.expr)) == 0 then error 'totalTarget expression must be grouped by groupLabel "%s", current expression is %s' % [groupLabel, totalTarget.expr],
// if std.length(std.findSubstr(groupLabel, usageTarget.expr)) == 0 then error 'usageTarget expression must be grouped by groupLabel "%s", current expression is %s' % [groupLabel, totalTarget.expr],
],
}
) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ base {
stylize(allLayers=true):
(if allLayers then super.stylize() else {})
+ generic.percentage.stylize(allLayers=false)
// make dots cloud
// + fieldConfig.defaults.custom.withLineStyleMixin(
// {
// fill: 'dot',
// dash: [0,40],
// })
+ fieldConfig.defaults.custom.withFillOpacity(1)
+ fieldConfig.defaults.custom.withLineWidth(1)
+ timeSeries.options.legend.withDisplayMode('table')
Expand Down

0 comments on commit 0edca29

Please sign in to comment.