Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Кирилл committed Oct 25, 2023
1 parent 14b146b commit 418fe6d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ class ReloadConfigSetup(
try {
log.info("Reloading config...")

val reloaded = reloadConfig()

if (reloaded) {
if (reloadConfig()) {
log.info("Config is reloaded")
} else {
log.info("There is nothing to reload, config is the same")
Expand Down

0 comments on commit 418fe6d

Please sign in to comment.