Skip to content

Commit

Permalink
Dot added in the end of comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shivi28 committed Jun 12, 2021
1 parent 2686509 commit 01b363e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func FromUnstructured(objs []unstructured.Unstructured) ([]byte, error) {
}

// Raw returns un-indented yaml string; it also remove the first empty line, if any.
// While writing yaml, always use space instead of tabs for indentation
// While writing yaml, always use space instead of tabs for indentation.
func Raw(raw string) string {
return strings.TrimPrefix(heredoc.Doc(raw), "\n")
}

0 comments on commit 01b363e

Please sign in to comment.