File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ func resourceGithubRepository() *schema.Resource {
371371 },
372372 "status" : {
373373 Type : schema .TypeString ,
374- Optional : true ,
374+ Computed : true ,
375375 Description : "The GitHub Pages site's build status e.g. building or built." ,
376376 },
377377 "url" : {
@@ -1099,12 +1099,7 @@ func expandPages(input []any) *github.Pages {
10991099 buildType = github .String (v )
11001100 }
11011101
1102- var public * bool
1103- // Only set the github.PagesUpdate public field if the value is a valid boolean.
1104- if v , ok := pages ["public" ].(bool ); ok {
1105- public = github .Bool (v )
1106- }
1107- return & github.Pages {Source : source , BuildType : buildType , Public : public }
1102+ return & github.Pages {Source : source , BuildType : buildType }
11081103}
11091104
11101105func expandPagesUpdate (input []any ) * github.PagesUpdate {
You can’t perform that action at this time.
0 commit comments