Skip to content

Commit

Permalink
fix for sending servicelog to cluster by using a query
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonbutter authored and georgettica committed Dec 22, 2021
1 parent 1544b9d commit ebd8d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/servicelog/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var postCmd = &cobra.Command{
readFilterFile() // parse the ocm filters in file provided via '-f' flag
readTemplate() // parse the given JSON template provided via '-t' flag

if len(args) < 1 && filtersFromFile == "" && clustersFile == "" {
if len(args) == 0 && len(filterParams) == 0 && clustersFile == "" {
log.Fatalf("No cluster identifier has been found.")
}

Expand Down

0 comments on commit ebd8d80

Please sign in to comment.