Skip to content

Commit 6ba7a6f

Browse files
committed
Fix tailscale error
1 parent b7e1a14 commit 6ba7a6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

experimental/libbox/command_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ func (c *CommandClient) SubscribeTailscaleStatus(handler TailscaleStatusHandler)
769769
for {
770770
event, recvErr := stream.Recv()
771771
if recvErr != nil {
772-
if status.Code(recvErr) == codes.NotFound {
772+
if status.Code(recvErr) == codes.NotFound || status.Code(recvErr) == codes.Unavailable {
773773
return nil
774774
}
775775
recvErr = E.Cause(recvErr, "tailscale status recv")

0 commit comments

Comments
 (0)