You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// A container name must be a valid DNS name, conforming to the following naming rules:
207
171
// 1. Container names must start with a letter or number, and can contain only letters, numbers, and the dash (-) character.
208
172
// 2. Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names.
expected4: fmt.Errorf("could not find accountname or azurestorageaccountname field secrets(map[accountname: accountkey:])"),
189
-
},
190
-
{
191
-
options: emptyAccountKeyMap,
192
-
expected1: "",
193
-
expected2: "",
194
-
expected3: "",
195
-
expected4: fmt.Errorf("could not find accountkey, azurestorageaccountkey or azurestorageaccountsastoken field in secrets(%v)", emptyAccountKeyMap),
196
-
},
197
-
{
198
-
options: emptyAccountNameMap,
199
-
expected1: "",
200
-
expected2: "",
201
-
expected3: "",
202
-
expected4: fmt.Errorf("could not find accountname or azurestorageaccountname field secrets(%v)", emptyAccountNameMap),
203
-
},
204
-
{
205
-
options: emptyAzureAccountKeyMap,
206
-
expected1: "",
207
-
expected2: "",
208
-
expected3: "",
209
-
expected4: fmt.Errorf("could not find accountkey, azurestorageaccountkey or azurestorageaccountsastoken field in secrets(%v)", emptyAzureAccountKeyMap),
210
-
},
211
-
{
212
-
options: emptyAzureAccountNameMap,
213
-
expected1: "",
214
-
expected2: "",
215
-
expected3: "",
216
-
expected4: fmt.Errorf("could not find accountname or azurestorageaccountname field secrets(%v)", emptyAzureAccountNameMap),
217
-
},
218
-
{
219
-
options: emptyAccountSasTokenMap,
220
-
expected1: "",
221
-
expected2: "",
222
-
expected3: "",
223
-
expected4: fmt.Errorf("could not find accountkey, azurestorageaccountkey or azurestorageaccountsastoken field in secrets(%v)", emptyAzureAccountKeyMap),
224
-
},
225
-
{
226
-
options: accesskeyAndaccountSasTokenMap,
227
-
expected1: "",
228
-
expected2: "",
229
-
expected3: "",
230
-
expected4: fmt.Errorf("could not specify Access Key and SAS Token together"),
231
-
},
232
-
{
233
-
options: nil,
234
-
expected1: "",
235
-
expected2: "",
236
-
expected3: "",
237
-
expected4: fmt.Errorf("unexpected: getStorageAccountFromSecretsMap secrets is nil"),
0 commit comments