Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Fabrizio Pandini <[email protected]>
  • Loading branch information
g-gaston and fabriziopandini authored Jan 25, 2023
1 parent a69ab2e commit d7d1ffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func computeHash(dataArr [][]byte) string {
// normalizeData reads content of the resource (configmap or secret) and returns
// them serialized with constant order. Secret's data is base64 decoded.
// This is useful to achieve consistent data between runs, since the content
// of the data field is a mapp and its order is non deterministic.
// of the data field is a map and its order is non-deterministic.
func normalizeData(resource *unstructured.Unstructured) ([][]byte, error) {
// Since maps are not ordered, we need to order them to get the same hash at each reconcile.
keys := make([]string, 0)
Expand Down

0 comments on commit d7d1ffa

Please sign in to comment.