File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ func setupRegistry(t *testing.T) http.RoundTripper {
296296// function are correctly included in the generated Knative Service container spec.
297297// This is a regression test for issue #3514.
298298func TestGenerateNewService_Envs (t * testing.T ) {
299- ptr := func (s string ) * string { return & s }
299+ strPtr := func (s string ) * string { return & s }
300300
301301 f := fn.Function {
302302 Name : "test-func" ,
@@ -305,8 +305,8 @@ func TestGenerateNewService_Envs(t *testing.T) {
305305 },
306306 Run : fn.RunSpec {
307307 Envs : fn.Envs {
308- {Name : ptr ("MYVAR" ), Value : ptr ("myvalue" )},
309- {Name : ptr ("OTHER" ), Value : ptr ("othervalue" )},
308+ {Name : strPtr ("MYVAR" ), Value : strPtr ("myvalue" )},
309+ {Name : strPtr ("OTHER" ), Value : strPtr ("othervalue" )},
310310 },
311311 },
312312 }
You can’t perform that action at this time.
0 commit comments