kubectl: add --revision flag in rollout status

This commit is contained in:
Michail Kargakis
2016-10-10 13:07:38 +02:00
parent 5509e50db4
commit 75f30ec46f
6 changed files with 46 additions and 16 deletions

View File

@@ -85,7 +85,7 @@ func TestDeploymentStatusViewerStatus(t *testing.T) {
UnavailableReplicas: 0,
},
msg: "deployment foo successfully rolled out\n",
msg: "deployment \"foo\" successfully rolled out\n",
done: true,
},
{
@@ -119,7 +119,7 @@ func TestDeploymentStatusViewerStatus(t *testing.T) {
}
client := fake.NewSimpleClientset(d).Extensions()
dsv := &DeploymentStatusViewer{c: client}
msg, done, err := dsv.Status("bar", "foo")
msg, done, err := dsv.Status("bar", "foo", 0)
if err != nil {
t.Fatalf("DeploymentStatusViewer.Status(): %v", err)
}