We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4170e1f commit 4a2e8f1Copy full SHA for 4a2e8f1
internal/svcctl/svcctl.go
@@ -140,7 +140,7 @@ func StopServer(ipComm IPCommunicator) error {
140
ctx, cancel := context.WithTimeout(context.Background(), commonTimeout)
141
defer cancel()
142
143
- err = stopAndWait(ctx, ipComm)
+ err := stopAndWait(ctx, ipComm)
144
var errServerDown *ipc.ServerDownError
145
if err != nil && !errors.As(err, &errServerDown) {
146
return errs.Wrap(err, "Cannot stop service")
0 commit comments