Skip to content

Commit 4a2e8f1

Browse files
committed
Fix compile error.
1 parent 4170e1f commit 4a2e8f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/svcctl/svcctl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func StopServer(ipComm IPCommunicator) error {
140140
ctx, cancel := context.WithTimeout(context.Background(), commonTimeout)
141141
defer cancel()
142142

143-
err = stopAndWait(ctx, ipComm)
143+
err := stopAndWait(ctx, ipComm)
144144
var errServerDown *ipc.ServerDownError
145145
if err != nil && !errors.As(err, &errServerDown) {
146146
return errs.Wrap(err, "Cannot stop service")

0 commit comments

Comments
 (0)