Skip to content

Commit

Permalink
fix: props empty check
Browse files Browse the repository at this point in the history
  • Loading branch information
gb-cic committed Dec 14, 2023
1 parent 0434755 commit 33bc8d1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.util.Map;

import static it.finanze.sanita.fse2.ms.iniclient.client.routes.base.ClientRoutes.Config.*;
import static it.finanze.sanita.fse2.ms.iniclient.enums.ConfigItemTypeEnum.GENERIC;
import static it.finanze.sanita.fse2.ms.iniclient.enums.ConfigItemTypeEnum.INI_CLIENT;

@Service
Expand Down Expand Up @@ -46,8 +45,8 @@ public void postConstruct() {
log.info("[GTW-CFG] Property {} is set as {}", key, value);
props.put(key, Pair.of(new Date().getTime(), value));
});
if(opt.getItems().isEmpty()) log.info("[GTW-CFG] No props were found");
}
if(opts.isEmpty()) log.info("[GTW-CFG] No props were found");
}
integrity();
}
Expand Down

0 comments on commit 33bc8d1

Please sign in to comment.