Skip to content

Commit

Permalink
Merge pull request #1498 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1496-to-release-1.24

[release-1.24] fix: blobfuse mount failure in Azure Linux v3
  • Loading branch information
andyzhangx authored Jul 19, 2024
2 parents 680fcfc + 3e1efe6 commit e618177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/blobfuse-proxy/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func getBlobfuseVersion() BlobfuseVersion {
return BlobfuseV1
}

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

Expand Down

0 comments on commit e618177

Please sign in to comment.