projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing unit test
[osm/N2VC.git]
/
n2vc
/
kubectl.py
diff --git
a/n2vc/kubectl.py
b/n2vc/kubectl.py
index
bc8c392
..
d67f4db
100644
(file)
--- a/
n2vc/kubectl.py
+++ b/
n2vc/kubectl.py
@@
-96,7
+96,7
@@
class Kubectl:
if not selected_sc:
# Select the first storage class in case there is no a default-class
selected_sc = sc.metadata.name
if not selected_sc:
# Select the first storage class in case there is no a default-class
selected_sc = sc.metadata.name
- annotations = sc.metadata.annotations
+ annotations = sc.metadata.annotations
or {}
if any(
k in annotations and annotations[k] == v
for k, v in default_sc_annotations.items()
if any(
k in annotations and annotations[k] == v
for k, v in default_sc_annotations.items()