Skip to content

Commit d850744

Browse files
committed
test
1 parent f674c4a commit d850744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/azurefile/controllerserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ func generateSASToken(accountName, accountKey, storageEndpointSuffix string) (st
12411241
sasURL, err := serviceClient.GetSASURL(
12421242
sas.AccountResourceTypes{Object: true, Service: true, Container: true},
12431243
sas.AccountPermissions{Read: true, List: true, Write: true},
1244-
time.Now().Add(4*time.Hour), &service.GetSASURLOptions{StartTime: &nowTime})
1244+
time.Now().Add(24*time.Hour), &service.GetSASURLOptions{StartTime: &nowTime})
12451245
if err != nil {
12461246
return "", status.Errorf(codes.Internal, fmt.Sprintf("failed to generate sas token in get sas url, accountName: %s, accountKey: %s, err: %s", accountName, accountKey, err.Error()))
12471247
}

0 commit comments

Comments
 (0)