func checkSupportedHintsSets()

in utils/hints.go [402:418]


func checkSupportedHintsSets(annotations mapstr.M, prefix, stream, kind string, allSupportedHints, incorrecthints []string) []string {
	var incorrecthint string

	if hintsindatastream, err := annotations.GetValue(prefix + "." + kind + "/" + stream); err == nil {
		if hintsentries, ok := hintsindatastream.(mapstr.M); ok {
			for hintkey := range hintsentries {
				_, incorrecthint = checkSupportedHints(hintkey, kind+"/"+stream+"."+hintkey, allSupportedHints)
				if incorrecthint != "" {
					incorrecthints = append(incorrecthints, incorrecthint)
				}
			}

		}
	}

	return incorrecthints
}