Skip to content

Commit ac99b8d

Browse files
committed
Fix lint issues
1 parent 36ebe33 commit ac99b8d

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

cookbooks/boxcutter_prometheus/recipes/nvidia_gpu_exporter.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@
6969
[Unit]
7070
Description=Nvidia GPU Exporter
7171
After=network-online.target
72-
72+
7373
[Service]
7474
Type=simple
75-
75+
7676
User=#{nvidia_gpu_exporter_user}
7777
Group=#{nvidia_gpu_exporter_group}
78-
78+
7979
ExecStart=/opt/node_exporter/latest/nvidia_gpu_exporter
80-
80+
8181
SyslogIdentifier=nvidia_gpu_exporter
82-
82+
8383
Restart=always
8484
RestartSec=1
85-
85+
8686
[Install]
8787
WantedBy=multi-user.target
8888
EOU

cookbooks/boxcutter_prometheus/test/cookbooks/boxcutter_prometheus_test/recipes/default.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,28 +54,28 @@
5454
{
5555
'static_configs' => [
5656
'targets' => ['localhost:9093'],
57-
]
58-
}
59-
]
57+
],
58+
},
59+
],
6060
},
6161
'scrape_configs' => [
6262
{
6363
'job_name' => 'prometheus',
6464
'static_configs' => [
6565
{
6666
'targets' => ['localhost:9090'],
67-
}
68-
]
67+
},
68+
],
6969
},
7070
{
7171
'job_name' => 'node',
7272
'static_configs' => [
7373
{
7474
'targets' => ['localhost:9100'],
75-
}
76-
]
77-
}
78-
]
75+
},
76+
],
77+
},
78+
],
7979
}
8080

8181
include_recipe 'boxcutter_prometheus::prometheus'

0 commit comments

Comments
 (0)