testutil: format code with gofumpt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b71951c70c
commit
263c00f27c
1 changed files with 1 additions and 1 deletions
|
@ -940,7 +940,7 @@ func (d *Daemon) TamperWithContainerConfig(t testing.TB, containerID string, tam
|
||||||
tamper(&c)
|
tamper(&c)
|
||||||
configBytes, err = json.Marshal(&c)
|
configBytes, err = json.Marshal(&c)
|
||||||
assert.NilError(t, err)
|
assert.NilError(t, err)
|
||||||
assert.NilError(t, os.WriteFile(configPath, configBytes, 0600))
|
assert.NilError(t, os.WriteFile(configPath, configBytes, 0o600))
|
||||||
}
|
}
|
||||||
|
|
||||||
// cleanupRaftDir removes swarmkit wal files if present
|
// cleanupRaftDir removes swarmkit wal files if present
|
||||||
|
|
Loading…
Reference in a new issue