Remove unused variable.

This commit is contained in:
Jeffrey Regan
2018-08-31 17:25:00 -07:00
parent fab2a5a5d7
commit 99e770b05a

View File

@@ -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
@@ -73,6 +70,5 @@ func (f FakeLoader) Load(location string) ([]byte, error) {
// Cleanup does nothing
func (f FakeLoader) Cleanup() error {
CleanupCalled = true
return nil
}