Skip to content

Commit

Permalink
Merge pull request #319 from replicatedhq/divolgin/cani
Browse files Browse the repository at this point in the history
log not logs is the subresource
  • Loading branch information
divolgin authored Feb 12, 2021
2 parents c2b5303 + 105a718 commit 529fe8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/troubleshoot/v1beta1/collector_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func (c *Collect) AccessReviewSpecs(overrideNS string) []authorizationv1.SelfSub
Group: "",
Version: "",
Resource: "pods",
Subresource: "logs",
Subresource: "log",
Name: "",
},
NonResourceAttributes: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/troubleshoot/v1beta2/collector_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (c *Collect) AccessReviewSpecs(overrideNS string) []authorizationv1.SelfSub
Group: "",
Version: "",
Resource: "pods",
Subresource: "logs",
Subresource: "log",
Name: "",
},
NonResourceAttributes: nil,
Expand Down

0 comments on commit 529fe8c

Please sign in to comment.