Skip to content

Commit cf65c37

Browse files
committed
avoid deprecated code
1 parent 91bdfbd commit cf65c37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/podrunner_types_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ var podList = v1.PodList{
3939
var runners = []*github.Runner{
4040
{
4141
ID: nil,
42-
Name: pointer.StringPtr("name1"),
42+
Name: pointer.String("name1"),
4343
OS: nil,
4444
Status: nil,
4545
Busy: nil,
4646
Labels: nil,
4747
},
4848
{
4949
ID: nil,
50-
Name: pointer.StringPtr("name2"),
50+
Name: pointer.String("name2"),
5151
OS: nil,
5252
Status: nil,
5353
Busy: nil,

0 commit comments

Comments
 (0)