Fix rollingupdate --image

This commit is contained in:
Prashanth Balasubramanian
2015-04-29 15:06:42 -07:00
parent d03b5299f9
commit c8ea0c27e9
4 changed files with 37 additions and 15 deletions

View File

@@ -170,7 +170,7 @@ func TestAddDeploymentHash(t *testing.T) {
return
}
if err := addDeploymentKeyToReplicationController(rc, client, "hash", api.NamespaceDefault, buf); err != nil {
if _, err := addDeploymentKeyToReplicationController(rc, client, "hash", api.NamespaceDefault, buf); err != nil {
t.Errorf("unexpected error: %v", err)
}
for _, pod := range podList.Items {