File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,9 @@ jobs:
138
138
~/.cache/go-build
139
139
~/Library/Caches/go-build
140
140
%LocalAppData%\go-build
141
- key : ${{ runner .os }}-go-${{ hashFiles('**/go.sum') }}
141
+ key : ${{ matrix .os }}-go-${{ hashFiles('**/go.sum') }}
142
142
restore-keys : |
143
- ${{ runner .os }}-go-
143
+ ${{ matrix .os }}-go-
144
144
145
145
- run : go install gotest.tools/gotestsum@latest
146
146
Original file line number Diff line number Diff line change @@ -110,10 +110,13 @@ func (p *provisionerDaemon) connect(ctx context.Context) {
110
110
if errors .Is (err , context .Canceled ) {
111
111
return
112
112
}
113
+ p .closeMutex .Lock ()
113
114
if p .isClosed () {
115
+ p .closeMutex .Unlock ()
114
116
return
115
117
}
116
118
p .opts .Logger .Warn (context .Background (), "failed to dial" , slog .Error (err ))
119
+ p .closeMutex .Unlock ()
117
120
continue
118
121
}
119
122
p .opts .Logger .Debug (context .Background (), "connected" )
You can’t perform that action at this time.
0 commit comments