Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc61fca4

Browse files
committed
linting
1 parentc095e87 commitc61fca4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎provisionersdk/tfpath/tfpath.go‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ func (l Layout) Cleanup(ctx context.Context, logger slog.Logger, fs afero.Fs) {
176176
return
177177
}
178178

179+
// Returning an error at this point cannot do any good. The caller cannot resolve
180+
// this. There is a routine cleanup task that will remove old work directories
181+
// when this fails.
179182
logger.Error(ctx,"failed to clean up work directory after multiple attempts",
180183
slog.F("path",path),slog.Error(err))
181-
return
182184
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp