Skip to content

Commit 587041e

Browse files
committed
Fix lock
1 parent 88678b4 commit 587041e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/mode/static/nginx/agent/command.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func (cs *commandService) Subscribe(in pb.CommandService_SubscribeServer) error
161161
}
162162

163163
if err := in.Send(req); err != nil {
164+
deployment.RUnlock()
164165
cs.logger.Error(err, "error sending request to agent")
165166
channels.ResponseCh <- err
166167

0 commit comments

Comments
 (0)