Fix reboot test to use system namespace

This commit is contained in:
Satnam Singh
2015-07-10 14:01:45 -07:00
parent 1b370599cc
commit 910603bba9
3 changed files with 4 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ func issueSSHCommand(node *api.Node, provider, cmd string) error {
// failed step, it will return false through result and not run the rest.
func rebootNode(c *client.Client, provider, name, rebootCmd string, result chan bool) {
// Setup
ns := api.NamespaceDefault
ns := api.NamespaceSystem
ps := newPodStore(c, ns, labels.Everything(), fields.OneTermEqualSelector(client.PodHost, name))
defer ps.Stop()