Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
monopole committed Sep 1, 2018
1 parent fab2a5a commit 99e770b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/internal/loadertest/fakeloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ import (
"github.com/kubernetes-sigs/kustomize/pkg/loader"
)

// CleanupCalled indicates if Cleanup is called.
var CleanupCalled = false

// FakeLoader encapsulates the delegate Loader and the fake file system.
type FakeLoader struct {
fs fs.FileSystem
Expand Down Expand Up @@ -73,6 +70,5 @@ func (f FakeLoader) Load(location string) ([]byte, error) {

// Cleanup does nothing
func (f FakeLoader) Cleanup() error {
CleanupCalled = true
return nil
}

0 comments on commit 99e770b

Please sign in to comment.