Commit 423fb53
committed
fix: fetch account key for NFS when createFolderIfNotExist is set
When using NFS protocol with createFolderIfNotExist and folderName,
GetAccountInfo previously returned early without fetching the account
key. This caused createFolderIfNotExists to silently fail because
newAzureFileClient requires the account key for data plane operations.
Fix: Skip the NFS early-return in GetAccountInfo when both
createFolderIfNotExist=true and folderName is set, so the account
key is retrieved and the data plane API can create the folder.
Fixes: #30411 parent e0d2b98 commit 423fb53
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
884 | 898 | | |
885 | 899 | | |
886 | 900 | | |
| |||
0 commit comments