mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Fix other linters on modified lines
This commit is contained in:
@@ -281,7 +281,7 @@ func TestAdd_Filter2(t *testing.T) {
|
||||
path := filepath.Join(os.TempDir(), "resourcefile")
|
||||
|
||||
// write initial resourcefile to temp path
|
||||
err := os.WriteFile(path, []byte(resourcefile), 0666)
|
||||
err := os.WriteFile(path, []byte(resourcefile), 0644)
|
||||
if !assert.NoError(t, err) {
|
||||
t.FailNow()
|
||||
}
|
||||
@@ -342,7 +342,7 @@ func TestAddUpdateSubstitution(t *testing.T) {
|
||||
path := filepath.Join(os.TempDir(), "resourcefile")
|
||||
|
||||
// write initial resourcefile to temp path
|
||||
err := os.WriteFile(path, []byte(resourcefile), 0666)
|
||||
err := os.WriteFile(path, []byte(resourcefile), 0644)
|
||||
if !assert.NoError(t, err) {
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user