Skip to content

Commit

Permalink
remove misleading comment about IncreaseRevision function (#1849)
Browse files Browse the repository at this point in the history
Signed-off-by: Benedikt Bongartz <[email protected]>
  • Loading branch information
frzifus authored Apr 8, 2022
1 parent 431038e commit 473f701
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/inject/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ func desired(dep *appsv1.Deployment, ns *corev1.Namespace) bool {
}

// IncreaseRevision increases the revision counter if a inject annoation exists.
// returns true if counter could be set or increased.
// returns false if inject annotation doesnt exist.
func IncreaseRevision(annotations map[string]string) {
if annotations == nil {
return
Expand Down

0 comments on commit 473f701

Please sign in to comment.