Skip to content

Commit 4a4605c

Browse files
andyzhangxzzzyuan0
authored andcommitted
fix: onDelete configuration is invalid and no value is assigned to the driver
2 parents cb2d722 + 9a5fd64 commit 4a4605c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/trivy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.23.5
18+
go-version: 1.23.6
1919

2020
- name: Build an image from Dockerfile
2121
run: |

pkg/nfs/nfs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func NewDriver(options *DriverOptions) *Driver {
9999
volStatsCacheExpireInMinutes: options.VolStatsCacheExpireInMinutes,
100100
removeArchivedVolumePath: options.RemoveArchivedVolumePath,
101101
useTarCommandInSnapshot: options.UseTarCommandInSnapshot,
102+
defaultOnDeletePolicy: options.DefaultOnDeletePolicy,
102103
}
103104

104105
n.AddControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{

0 commit comments

Comments
 (0)