Skip to content

Commit 3149c21

Browse files
author
Francesco Timperi Tiberi
authored
Merge pull request #21 from francescotimperi/main
fix: adds retry to cm config map annotation
2 parents 0ddcd51 + d1127a0 commit 3149c21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nuvolaris/openwhisk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
import nuvolaris.openwhisk_standalone as standalone
2121
import nuvolaris.openwhisk_enterprise as enterprise
2222
import nuvolaris.kube as kube
23+
from nuvolaris.util import nuv_retry
2324

25+
@nuv_retry()
2426
def annotate(keyval):
2527
kube.kubectl("annotate", "cm/config", keyval, "--overwrite")
2628

0 commit comments

Comments
 (0)