Fixes lint error
The message from the linter makes a good point.. we're storing a reference for the mount processes, but we're not using them.. Thus the committed lines.pull/15782/head
parent
47981b75d9
commit
07f3f440ff
|
@ -302,6 +302,14 @@ func validateMountCmd(ctx context.Context, t *testing.T, profile string) { // no
|
||||||
}
|
}
|
||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
|
// Still trying to stop mount processes that could otherwise
|
||||||
|
// (if something weird happens...) leave the test run hanging
|
||||||
|
// The worst thing that could happen is that we try to kill
|
||||||
|
// something that was aleardy killed...
|
||||||
|
for _, mp := range mntProcs {
|
||||||
|
mp.Stop(t)
|
||||||
|
}
|
||||||
|
|
||||||
cancel()
|
cancel()
|
||||||
if *cleanup {
|
if *cleanup {
|
||||||
os.RemoveAll(tempDir)
|
os.RemoveAll(tempDir)
|
||||||
|
|
Loading…
Reference in New Issue