Skip to content

Commit 5c3ff2b

Browse files
committed
val to ptr
1 parent 74ffc83 commit 5c3ff2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/provider/template_data_source_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ func TestAccTemplateDataSource(t *testing.T) {
7373
// Can't set some fields on create, like deprecated.
7474
tpl, err = client.UpdateTemplateMeta(ctx, tpl.ID, codersdk.UpdateTemplateMeta{
7575
Name: tpl.Name,
76-
DisplayName: tpl.DisplayName,
77-
Description: tpl.Description,
78-
Icon: tpl.Icon,
76+
DisplayName: &tpl.DisplayName,
77+
Description: &tpl.Description,
78+
Icon: &tpl.Icon,
7979
DefaultTTLMillis: tpl.DefaultTTLMillis,
8080
ActivityBumpMillis: tpl.ActivityBumpMillis,
8181
AutostopRequirement: &codersdk.TemplateAutostopRequirement{

0 commit comments

Comments
 (0)