Skip to content

Commit 099f445

Browse files
committed
format
1 parent 5b35b5e commit 099f445

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/utils/StackUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ private static void parseTemplateFiles(File templateRoot, File currentFolder, Ma
174174
if (file.isDirectory()) {
175175
parseTemplateFiles(templateRoot, file, templateMap);
176176
} else {
177-
String relativePath = templateRoot.toURI().relativize(file.toURI()).getPath();
177+
String relativePath =
178+
templateRoot.toURI().relativize(file.toURI()).getPath();
178179
String content = FileUtils.readFile2Str(file);
179180
templateMap.put(relativePath, content);
180181
}

bigtop-manager-server/src/main/resources/stacks/infra/1.0.0/services/prometheus/metainfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@
7979
</template>
8080
</templates>
8181
</service>
82-
</metainfo>
82+
</metainfo>

bigtop-manager-server/src/main/resources/stacks/infra/1.0.0/services/prometheus/template/rules/zookeeper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ groups:
108108
severity: warning
109109
annotations:
110110
summary: "Instance {{ $labels.instance }} avg latency is too high"
111-
description: "{{ $labels.instance }} of job {{$labels.job}} avg latency is too high: [{{ $value }}]."
111+
description: "{{ $labels.instance }} of job {{$labels.job}} avg latency is too high: [{{ $value }}]."

0 commit comments

Comments
 (0)