-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use params field, if they are nil, while cloning volumesnapshot…
…class (#1145) * Don't use params field while cloning volumesnapshotclass While cloning `VolumeSnapshotClass`, as part of #1128 we started passing params. But we should not pass params if the values is `nil`, because in that case creation `VolumeSnapshotClass` fails with `nil` not allowed. * Refactor, address review comments Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f0d642c
commit 5fab1bb
Showing
2 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters