fix: User still can create a snapshot while selected volume's storageclass has been deleted
Created by: weili520
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes:
- User still can create a snapshot while selected volume's storageclass has been deleted
- Update the method that get the snapshotclass
Special notes for reviewers:
Now, it will disallow user to create it
Does this PR introduced a user-facing change?
NONE