From f71bc19ca8b92cd0abfbd0b281dd05e62f6014d4 Mon Sep 17 00:00:00 2001 From: zhoulin xie Date: Mon, 11 Feb 2019 16:43:20 +0800 Subject: [PATCH] Fix fmt.Sprintf error message Signed-off-by: zhoulin xie --- test/e2e/apps/statefulset.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/apps/statefulset.go b/test/e2e/apps/statefulset.go index b35b9dc7736..6028cab44b3 100644 --- a/test/e2e/apps/statefulset.go +++ b/test/e2e/apps/statefulset.go @@ -275,7 +275,7 @@ var _ = SIGDescribe("StatefulSet", func() { Description: StatefulSet's RollingUpdate strategy MUST support the Partition parameter for canaries and phased rollouts. If a Pod is deleted while a rolling update is in progress, StatefulSet MUST restore the Pod without violating the Partition. This test does not depend on a preexisting default StorageClass or a dynamic provisioner. */ framework.ConformanceIt("should perform canary updates and phased rolling updates of template modifications", func() { - By("Creating a new StaefulSet") + By("Creating a new StatefulSet") ss := framework.NewStatefulSet("ss2", ns, headlessSvcName, 3, nil, nil, labels) sst := framework.NewStatefulSetTester(c) sst.SetHttpProbe(ss) @@ -475,7 +475,7 @@ var _ = SIGDescribe("StatefulSet", func() { } } Expect(ss.Status.CurrentRevision).To(Equal(updateRevision), - fmt.Sprintf("StatefulSet %s/%s current revision %s does not equal update revison %s on update completion", + fmt.Sprintf("StatefulSet %s/%s current revision %s does not equal update revision %s on update completion", ss.Namespace, ss.Name, ss.Status.CurrentRevision,