Skip to content

Commit 839ea7e

Browse files
committed
fixup! fix: Stop repo collaborators drifting on owner
1 parent e83964a commit 839ea7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

github/resource_github_repository_collaborators.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ func resourceGithubRepositoryCollaboratorsCreate(ctx context.Context, d *schema.
295295
inIgnoreUsers = append(inIgnoreUsers, strings.ToLower(owner))
296296
}
297297

298-
if !ownerConfigured {
299-
inIgnoreUsers = append(inIgnoreUsers, strings.ToLower(owner))
298+
if err := d.Set("owner_configured", ownerConfigured); err != nil {
299+
return diag.FromErr(err)
300300
}
301301
}
302302
}

0 commit comments

Comments
 (0)