Skip to content

Commit 2f2e704

Browse files
committed
fix gofmt
1 parent 4e68a5d commit 2f2e704

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pkg/blob/blob.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ func GetContainerInfo(id string) (string, string, string, string, error) {
283283
}
284284

285285
// A container name must be a valid DNS name, conforming to the following naming rules:
286-
// 1. Container names must start with a letter or number, and can contain only letters, numbers, and the dash (-) character.
287-
// 2. Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names.
288-
// 3. All letters in a container name must be lowercase.
289-
// 4. Container names must be from 3 through 63 characters long.
286+
// 1. Container names must start with a letter or number, and can contain only letters, numbers, and the dash (-) character.
287+
// 2. Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names.
288+
// 3. All letters in a container name must be lowercase.
289+
// 4. Container names must be from 3 through 63 characters long.
290290
//
291291
// See https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#container-names
292292
func getValidContainerName(volumeName, protocol string) string {
@@ -681,9 +681,9 @@ func setAzureCredentials(kubeClient kubernetes.Interface, accountName, accountKe
681681
}
682682

683683
// GetStorageAccesskey get Azure storage account key from
684-
// 1. secrets (if not empty)
685-
// 2. use k8s client identity to read from k8s secret
686-
// 3. use cluster identity to get from storage account directly
684+
// 1. secrets (if not empty)
685+
// 2. use k8s client identity to read from k8s secret
686+
// 3. use cluster identity to get from storage account directly
687687
func (d *Driver) GetStorageAccesskey(ctx context.Context, accountOptions *azure.AccountOptions, secrets map[string]string, secretName, secretNamespace string) (string, string, error) {
688688
if len(secrets) > 0 {
689689
return getStorageAccount(secrets)

0 commit comments

Comments
 (0)