Skip to content

Commit

Permalink
log not logs is the subresource
Browse files Browse the repository at this point in the history
  • Loading branch information
divolgin committed Feb 12, 2021
1 parent c2b5303 commit 105a718
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 105a718

Please sign in to comment.