Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhar10 committed Feb 5, 2025
1 parent 33b0f72 commit 534372c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public synchronized List<RoutingRule> updateRoutingRule(RoutingRule routingRule)
List<RoutingRule> currentRoutingRulesList = getRoutingRules();
Path path = Path.of(rulesConfigPath);
try (FileChannel fileChannel = FileChannel.open(path, WRITE, READ);
FileLock lock = fileChannel.lock()) {
FileLock lock = fileChannel.lock()) {
ObjectMapper yamlWriter = new ObjectMapper(new YAMLFactory());
StringBuilder yamlContent = new StringBuilder();
for (RoutingRule rule : currentRoutingRulesList) {
Expand Down

0 comments on commit 534372c

Please sign in to comment.