Remove spurious warning which is e.g. makes no sense when used on a non-gut project.
Not using git should be allowed (still ;-) and not causing a warning.
@@ -60,8 +60,6 @@ public class GitEnricher extends BaseEnricher {
if (id != null) {
annotations.put(Annotations.Builds.GIT_COMMIT, id);
}
- } else {
- log.warn("No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch");
}
}
return annotations;
