Skip to content

Commit

Permalink
fixed a label issue
Browse files Browse the repository at this point in the history
Signed-off-by: YachikaRalhan <yachika.ralhan@aveshasystems.com>
  • Loading branch information
YachikaRalhan committed Apr 11, 2023
1 parent ed234c3 commit 0d21f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/slicegateway/slicegateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ func (r *SliceGwReconciler) restartGatewayPods(ctx context.Context, sliceGWName
log := r.Log
podsList := corev1.PodList{}
labels := map[string]string{"kubeslice.io/pod-type": "slicegateway",
"kubeslice.io/slicegw": sliceGWName,
"kubeslice.io/slice-gw": sliceGWName,
}
listOptions := []client.ListOption{
client.MatchingLabels(labels),
Expand Down

0 comments on commit 0d21f5a

Please sign in to comment.