Skip to content

Commit

Permalink
Revert "Doc: Add hint to warning for users of namespace if selectors … (
Browse files Browse the repository at this point in the history
#149)

This reverts commit 9ab57ae, PR #148
  • Loading branch information
Tieske authored Jan 25, 2024
1 parent 9ab57ae commit 90871df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namespace/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func Apply(deckfile *yaml.Node, selectors yamlbasics.SelectorSet, namespace stri
logbasics.Info("no routes matched the selectors, nothing to do")
return nil
}
return errors.New("no routes matched the selectors. Check command help to suppress this error")
return errors.New("no routes matched the selectors")
}

routesNoStripping := allRoutes.Subtract(targetRoutes) // everything not matched by the selectors
Expand Down

0 comments on commit 90871df

Please sign in to comment.