Add namespace for storeKey in ResourceManager (#211)
* add namespace for storeKey in RM * fix UT for add namespace
This commit is contained in:
@@ -267,7 +267,7 @@ func (s *Server) reconcile() {
|
||||
|
||||
for _, pod := range providerPods {
|
||||
// Delete pods that don't exist in Kubernetes
|
||||
if p := s.resourceManager.GetPod(pod.Name); p == nil {
|
||||
if p := s.resourceManager.GetPod(pod.Namespace, pod.Name); p == nil {
|
||||
if err := s.deletePod(pod); err != nil {
|
||||
log.Printf("Error deleting pod '%s': %s\n", pod.Name, err)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user