Skip to content

Commit

Permalink
feat(kubernetes): Reduce log noise for secret creation (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwander committed Mar 1, 2017
1 parent 8125789 commit d9407ee
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -95,7 +95,9 @@ private void reconfigureRegistries(List<String> affectedNamespaces, List<String>
registry.setNamespaces(allNamespaces);
}

LOG.info("Adding secrets for docker registry " + registry.getAccountName() + " in " + affectedNamespaces);
if (affectedNamespaces != null && !affectedNamespaces.isEmpty()) {
LOG.info("Adding secrets for docker registry " + registry.getAccountName() + " in " + affectedNamespaces);
}

DockerRegistryNamedAccountCredentials account = (DockerRegistryNamedAccountCredentials) repository.getOne(registry.getAccountName());

Expand Down

0 comments on commit d9407ee

Please sign in to comment.