Fix rollingupdate --image
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user