Skip to content

Commit

Permalink
fix inefassign linter declaring variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Ojea committed Nov 17, 2021
1 parent 4bf93f3 commit 4352768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
isSubresource := len(subresource) > 0

// If there is a subresource, namespace scoping is defined by the parent resource
namespaceScoped := true
var namespaceScoped bool
if isSubresource {
parentStorage, ok := a.group.Storage[resource]
if !ok {
Expand Down

0 comments on commit 4352768

Please sign in to comment.