Skip to content

Commit 1461e99

Browse files
Apply suggestion from @deiga
Co-authored-by: Timo Sand <[email protected]>
1 parent aba7639 commit 1461e99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github/resource_github_repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ func expandPagesUpdate(input []any) *github.PagesUpdate {
11281128

11291129
// Only set the github.PagesUpdate public field if the value is a valid boolean.
11301130
if v, ok := pages["public"].(bool); ok && v != "" {
1131-
update.Public = github.Bool(v)
1131+
update.Public = github.Ptr(v)
11321132
}
11331133

11341134
return update

0 commit comments

Comments
 (0)