Skip to content

Commit

Permalink
revert error message, doesn't apply all error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jan 24, 2024
1 parent cfd70e8 commit 6247e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/file_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func executeNamespace(cmd *cobra.Command, _ []string) error {

err = namespace.Apply(yamlNode, selectors, cmdNamespacePathPrefix, cmdNamespaceAllowEmptySelectors)
if err != nil {
return fmt.Errorf("failed to apply the namespace: %w. Use --allow-empty-selectors to suppress this error.", err)
return fmt.Errorf("failed to apply the namespace: %w", err)
}

data = jsonbasics.ConvertToJSONobject(yamlNode)
Expand Down

0 comments on commit 6247e51

Please sign in to comment.