We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 999d848 commit 411bac6Copy full SHA for 411bac6
pkg/operator/workloads/current_contexts.go
@@ -99,9 +99,6 @@ func updateContextConfigMap() error {
99
}
100
101
func reloadCurrentContexts() error {
102
- currentCtxs.Lock()
103
- defer currentCtxs.Unlock()
104
-
105
configMap, err := config.Kubernetes.GetConfigMap(configMapName)
106
if err != nil {
107
return err
@@ -113,7 +110,7 @@ func reloadCurrentContexts() error {
113
110
for appName, ctxID := range configMap.Data {
114
111
ctx, err := ocontext.DownloadContext(ctxID, appName)
115
112
116
- fmt.Printf("Deleting stale workflow: %s", appName)
+ fmt.Printf("Deleting stale workflow: %s\n", appName)
117
DeleteApp(appName, true)
118
} else if ctx != nil {
119
currentCtxs.m[appName] = ctx
0 commit comments