@@ -101,23 +101,22 @@ spec:
101101 port: 80
102102`
103103
104- var ResourceApplied = func (resourType , resourceName , resourceRaw string , observedGeneration int ) {
104+ var ResourceApplied = func (resourceType , resourceName , resourceRaw string , observedGeneration int ) {
105105 Expect (s .CreateResourceFromString (resourceRaw )).
106- NotTo (HaveOccurred (), fmt .Sprintf ("creating %s" , resourType ))
106+ NotTo (HaveOccurred (), fmt .Sprintf ("creating %s" , resourceType ))
107107
108108 Eventually (func () string {
109- hryaml , err := s .GetResourceYaml (resourType , resourceName )
110- Expect (err ).NotTo (HaveOccurred (), fmt .Sprintf ("getting %s yaml" , resourType ))
109+ hryaml , err := s .GetResourceYaml (resourceType , resourceName )
110+ Expect (err ).NotTo (HaveOccurred (), fmt .Sprintf ("getting %s yaml" , resourceType ))
111111 return hryaml
112112 }, "8s" , "2s" ).
113113 Should (
114114 SatisfyAll (
115115 ContainSubstring (`status: "True"` ),
116116 ContainSubstring (fmt .Sprintf ("observedGeneration: %d" , observedGeneration )),
117117 ),
118- fmt .Sprintf ("checking %s condition status" , resourType ),
118+ fmt .Sprintf ("checking %s condition status" , resourceType ),
119119 )
120- time .Sleep (1 * time .Second )
121120 }
122121
123122 var (
0 commit comments