Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
Signed-off-by: whitneygriffith <[email protected]>
  • Loading branch information
whitneygriffith committed Mar 20, 2024
1 parent fd6b999 commit 00bce67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/protoc-gen-crd/openapiGenerator.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,14 @@ func parseMessageGenTags(s string) map[string]string {
}
val := ""
if len(spl) > 2 {
// val = "security.istio.io"
// val is "security.istio.io"
val = spl[2]
}
// res["groupName"] = "security.istio.io;;newVal"
// res["groupName"] is "security.istio.io;;newVal"
if _, f := res[spl[1]]; f {
res[spl[1]] += ";;" + val
} else {
// res["groupName"] = "security.istio.io"
// res["groupName"] is "security.istio.io"
res[spl[1]] = val
}
}
Expand Down

0 comments on commit 00bce67

Please sign in to comment.