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 4382806 commit 23ef28a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

import static it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes.base.ClientRoutes.Config.*;
import static it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.ConfigItemDTO.ConfigDataItemDTO;
import static it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ConfigItemTypeEnum.GENERIC;
import static it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ConfigItemTypeEnum.STATUS_MANAGER;

@Slf4j
Expand Down Expand Up @@ -58,8 +57,8 @@ void initialize() {
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 23ef28a

Please sign in to comment.