From ee1e180f140f7edc091fe73a8121cef1fc299d89 Mon Sep 17 00:00:00 2001 From: Drew Bailey <2614075+drewbailey@users.noreply.github.com> Date: Mon, 25 Nov 2019 14:27:40 -0500 Subject: [PATCH] to pointer --- jobspec/parse_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobspec/parse_test.go b/jobspec/parse_test.go index b95cdc93e12..9bac757df61 100644 --- a/jobspec/parse_test.go +++ b/jobspec/parse_test.go @@ -927,7 +927,7 @@ func TestParse(t *testing.T) { TaskGroups: []*api.TaskGroup{ { Name: helper.StringToPtr("bar"), - ShutdownDelay: 14 * time.Second, + ShutdownDelay: helper.TimeToPtr(14 * time.Second), Count: helper.IntToPtr(3), Networks: []*api.NetworkResource{ {