Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
Fix namespace error
Browse files Browse the repository at this point in the history
  • Loading branch information
Csongor Barabasi committed Jun 19, 2020
1 parent a5cf0fd commit 12ef0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cleanup/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func init() {
}

func runPodsCleanup() {
pods := clientset.CoreV1().Pods("")
pods := clientset.CoreV1().Pods("modeltraining")
podList, err := pods.List(metav1.ListOptions{})
if err != nil {
logFatalf("[paddle] error fetching list of pods: %s", err.Error())
Expand Down

0 comments on commit 12ef0fe

Please sign in to comment.