fix: onDelete configuration is invalid and no value is assigned to the driver
This commit is contained in:
commit
4a4605cda6
2
.github/workflows/trivy.yaml
vendored
2
.github/workflows/trivy.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
- name: Install go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.5
|
||||
go-version: 1.23.6
|
||||
|
||||
- name: Build an image from Dockerfile
|
||||
run: |
|
||||
|
||||
@ -99,6 +99,7 @@ func NewDriver(options *DriverOptions) *Driver {
|
||||
volStatsCacheExpireInMinutes: options.VolStatsCacheExpireInMinutes,
|
||||
removeArchivedVolumePath: options.RemoveArchivedVolumePath,
|
||||
useTarCommandInSnapshot: options.UseTarCommandInSnapshot,
|
||||
defaultOnDeletePolicy: options.DefaultOnDeletePolicy,
|
||||
}
|
||||
|
||||
n.AddControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user