Skip to content

Commit 76f1ba0

Browse files
committed
style: fmt code
1 parent 35bb9f3 commit 76f1ba0

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

examples/prometheus-thanos.jsonnet

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ local kp =
1616
prometheus+: {
1717
thanos: {
1818
baseImage: 'quay.io/thanos/thanos',
19-
version: 'v0.8.1',
20-
objectStorageConfig: {
21-
key: 'thanos.yaml',
22-
name: 'thanos-objstore-config',
19+
version: 'v0.8.1',
20+
objectStorageConfig: {
21+
key: 'thanos.yaml',
22+
name: 'thanos-objstore-config',
2323
},
2424
},
2525
},

jsonnet/kube-prometheus/components/prometheus.libsonnet

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -128,20 +128,20 @@ function(params) {
128128
port: 9090,
129129
protocol: 'TCP',
130130
}],
131-
}] + ( if p._config.thanos != null then
132-
[{
133-
from: [{
134-
podSelector: {
135-
matchLabels: {
136-
'app.kubernetes.io/name': 'thanos-query',
137-
},
138-
},
139-
}],
140-
ports: [{
141-
port: 10901,
142-
protocol: 'TCP',
143-
}],
144-
}] else []),
131+
}] + (if p._config.thanos != null then
132+
[{
133+
from: [{
134+
podSelector: {
135+
matchLabels: {
136+
'app.kubernetes.io/name': 'thanos-query',
137+
},
138+
},
139+
}],
140+
ports: [{
141+
port: 10901,
142+
protocol: 'TCP',
143+
}],
144+
}] else []),
145145
},
146146
},
147147

0 commit comments

Comments
 (0)