We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b0f72 commit 534372cCopy full SHA for 534372c
gateway-ha/src/main/java/io/trino/gateway/ha/router/RoutingRulesManager.java
@@ -68,7 +68,7 @@ public synchronized List<RoutingRule> updateRoutingRule(RoutingRule routingRule)
68
List<RoutingRule> currentRoutingRulesList = getRoutingRules();
69
Path path = Path.of(rulesConfigPath);
70
try (FileChannel fileChannel = FileChannel.open(path, WRITE, READ);
71
- FileLock lock = fileChannel.lock()) {
+ FileLock lock = fileChannel.lock()) {
72
ObjectMapper yamlWriter = new ObjectMapper(new YAMLFactory());
73
StringBuilder yamlContent = new StringBuilder();
74
for (RoutingRule rule : currentRoutingRulesList) {
0 commit comments