Skip to content

Commit

Permalink
fix: Fix the terminating of watch process
Browse files Browse the repository at this point in the history
  • Loading branch information
perenesenko committed Jun 21, 2021
1 parent a939fe1 commit e6eec3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (s *ArgoRolloutsServer) WatchRolloutInfos(q *rollout.RolloutInfoListQuery,
return
}
}
ctx := context.Background()
ctx := ws.Context()
rolloutIf := s.Options.RolloutsClientset.ArgoprojV1alpha1().Rollouts(q.GetNamespace())

kubeInformerFactory := kubeinformers.NewSharedInformerFactoryWithOptions(s.Options.KubeClientset, 0, kubeinformers.WithNamespace(q.Namespace))
Expand Down

0 comments on commit e6eec3d

Please sign in to comment.