From c3fd3b1cf54ae0fc5bf31d1f9dd22f6dc5fa65a7 Mon Sep 17 00:00:00 2001 From: Janet Kuo Date: Wed, 25 May 2016 15:07:41 -0700 Subject: [PATCH] Fix broken log for deployment e2e tests --- test/e2e/framework/util.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index 893923886f403..7cf8f21a86c60 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -2792,11 +2792,11 @@ func WaitForDeploymentOldRSsNum(c *clientset.Clientset, ns, deploymentName strin } func logReplicaSetsOfDeployment(deployment *extensions.Deployment, allOldRSs []*extensions.ReplicaSet, newRS *extensions.ReplicaSet) { - Logf("Deployment: %+v. Selector = %+v", deployment, deployment.Spec.Selector) + Logf("Deployment: %+v. Selector = %+v", *deployment, deployment.Spec.Selector) for i := range allOldRSs { - Logf("All old ReplicaSets (%d/%d) of deployment %s: %+v. Selector = %+v", i+1, len(allOldRSs), deployment.Name, allOldRSs[i], allOldRSs[i].Spec.Selector) + Logf("All old ReplicaSets (%d/%d) of deployment %s: %+v. Selector = %+v", i+1, len(allOldRSs), deployment.Name, *allOldRSs[i], allOldRSs[i].Spec.Selector) } - Logf("New ReplicaSet of deployment %s: %+v. Selector = %+v", deployment.Name, newRS, newRS.Spec.Selector) + Logf("New ReplicaSet of deployment %s: %+v. Selector = %+v", deployment.Name, *newRS, newRS.Spec.Selector) } func WaitForObservedDeployment(c *clientset.Clientset, ns, deploymentName string, desiredGeneration int64) error {