Skip to content

Commit

Permalink
πŸ”Š k8s Change executor loglevel todebug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignaudo committed Jul 15, 2024
1 parent e888149 commit 10a6a51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public <R extends HasMetadata> R create(final Config k8sCfg, final Function<Kube
public HasMetadata createOrPatch(final Config k8sCfg, final HasMetadata hasmetadata1) {
try (KubernetesClient client = new KubernetesClientBuilder().withConfig(k8sCfg).build()) {
final HasMetadata res = client.resource(hasmetadata1).createOr(NonDeletingOperation::update);
LOG.info("Done creating/update: {}", res.getMetadata().getName());
LOG.debug("Done creating/update: {}", res.getMetadata().getName());
return res;
} catch (final KubernetesClientException e) {
LOG.error(ERROR_CODE, e.getCode(), e);
Expand Down Expand Up @@ -158,7 +158,7 @@ public List<Object> apply(final Config k8sCfg, final List<String> str) {
}
final List<HasMetadata> lst = entities.stream().map((final HasMetadata x) -> {
final HasMetadata res = client.resource(x).createOr(NonDeletingOperation::update);
LOG.info("Done creating/update: {}", res.getMetadata().getName());
LOG.debug("Done creating/update: {}", res.getMetadata().getName());
return res;
}).toList();
ret.addAll(lst);
Expand Down

0 comments on commit 10a6a51

Please sign in to comment.