Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gizas committed Apr 12, 2024
1 parent 2735dd1 commit 5c28313
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/hints.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ func GenerateHints(annotations mapstr.M, container, prefix string, allSupportedH
}

}
//We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
_, incorrecthint = checkSupportedHints(parts[1], key, allSupportedHints)

// Insert only if there is no entry already. container level annotations take
Expand Down Expand Up @@ -309,6 +310,7 @@ func GenerateHints(annotations mapstr.M, container, prefix string, allSupportedH
}

}
//We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
_, incorrecthint = checkSupportedHints(parts[1], key, allSupportedHints)

//end of check
Expand Down

0 comments on commit 5c28313

Please sign in to comment.