Skip to content

Commit

Permalink
MAISTRA-1873 Properly delete extensions from store when they disappear (
Browse files Browse the repository at this point in the history
#182)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
dgn and mergify[bot] committed Oct 2, 2020
1 parent 5687393 commit f3bf790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/servicemesh/controller/extension/controller.go
Expand Up @@ -108,7 +108,7 @@ func NewControllerFromConfigFile(kubeConfig string, namespaces []string, mrc mem
return
}
}
store[extension.Namespace+"/"+extension.Name] = nil
delete(store, extension.Namespace+"/"+extension.Name)
log.Infof("Deleted extension %s/%s", extension.Namespace, extension.Name)
},
})
Expand Down

0 comments on commit f3bf790

Please sign in to comment.