Skip to content

Commit 5843f83

Browse files
committed
fix: blobfuse-proxy mount error
update binary
1 parent a2a19c8 commit 5843f83

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
-776 Bytes
Binary file not shown.

pkg/blobfuse-proxy/server/server.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ func (server *MountServer) MountAzureBlob(ctx context.Context,
6565
}
6666
result.Output = string(output)
6767
klog.V(2).Infof("blobfuse output: %s\n", result.Output)
68-
return &result, fmt.Errorf("%v %s", err, result.Output)
68+
if err != nil {
69+
return &result, fmt.Errorf("%v %s", err, result.Output)
70+
}
71+
return &result, nil
6972
}
7073

7174
func RunGRPCServer(

0 commit comments

Comments
 (0)