Skip to content

Commit 534372c

Browse files
committed
Fix indentation
1 parent 33b0f72 commit 534372c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway-ha/src/main/java/io/trino/gateway/ha/router/RoutingRulesManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public synchronized List<RoutingRule> updateRoutingRule(RoutingRule routingRule)
6868
List<RoutingRule> currentRoutingRulesList = getRoutingRules();
6969
Path path = Path.of(rulesConfigPath);
7070
try (FileChannel fileChannel = FileChannel.open(path, WRITE, READ);
71-
FileLock lock = fileChannel.lock()) {
71+
FileLock lock = fileChannel.lock()) {
7272
ObjectMapper yamlWriter = new ObjectMapper(new YAMLFactory());
7373
StringBuilder yamlContent = new StringBuilder();
7474
for (RoutingRule rule : currentRoutingRulesList) {

0 commit comments

Comments
 (0)