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

Commit6c68e41

Browse files
committed
Invalidate cache on matrix OS
1 parent328852a commit6c68e41

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎.github/workflows/coder.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ jobs:
138138
~/.cache/go-build
139139
~/Library/Caches/go-build
140140
%LocalAppData%\go-build
141-
key:${{runner.os }}-go-${{ hashFiles('**/go.sum') }}
141+
key:${{matrix.os }}-go-${{ hashFiles('**/go.sum') }}
142142
restore-keys:|
143-
${{runner.os }}-go-
143+
${{matrix.os }}-go-
144144
145145
-run:go install gotest.tools/gotestsum@latest
146146

‎provisionerd/provisionerd.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,13 @@ func (p *provisionerDaemon) connect(ctx context.Context) {
110110
iferrors.Is(err,context.Canceled) {
111111
return
112112
}
113+
p.closeMutex.Lock()
113114
ifp.isClosed() {
115+
p.closeMutex.Unlock()
114116
return
115117
}
116118
p.opts.Logger.Warn(context.Background(),"failed to dial",slog.Error(err))
119+
p.closeMutex.Unlock()
117120
continue
118121
}
119122
p.opts.Logger.Debug(context.Background(),"connected")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp