Skip to content

Commit bd160a7

Browse files
authored
Merge pull request #1496 from cvvz/fix-azurelinux-blobfuse2
fix: blobfuse mount failure in Azure Linux v3
2 parents fda1e78 + 9768800 commit bd160a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/blobfuse-proxy/server/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ func getBlobfuseVersion() BlobfuseVersion {
121121
return BlobfuseV1
122122
}
123123

124-
if strings.EqualFold(osinfo.Distro, "mariner") && osinfo.Version >= "2.0" {
125-
klog.V(2).Info("proxy default using blobfuse V2 for mounting on Mariner 2.0+")
124+
if (strings.EqualFold(osinfo.Distro, "mariner") || strings.EqualFold(osinfo.Distro, "azurelinux")) && osinfo.Version >= "2.0" {
125+
klog.V(2).Info("proxy default using blobfuse V2 for mounting on azurelinux(mariner) 2.0+")
126126
return BlobfuseV2
127127
}
128128

0 commit comments

Comments
 (0)