mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
Merge branch 'master' into feature/migrate_website
This commit is contained in:
commit
2de8d60015
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ func Command() *cobra.Command {
|
|||
}
|
||||
|
||||
var resources []*unstructured.Unstructured
|
||||
if resourcePaths[0] == "-" {
|
||||
if len(resourcePaths) > 0 && resourcePaths[0] == "-" {
|
||||
if common.IsInputFromPipe() {
|
||||
resourceStr := ""
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
|
|
Loading…
Add table
Reference in a new issue