Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit 8556214

Browse files
KobzolMark-Simulacrum
authored andcommitted
Rename repo_id to repo_node_id
1 parent e18143c commit 8556214

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/github/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ impl SyncGitHub {
337337
Ok(RepoDiff::Update(UpdateRepoDiff {
338338
org: expected_repo.org.clone(),
339339
name: actual_repo.name,
340-
repo_id: actual_repo.id,
340+
repo_node_id: actual_repo.id,
341341
settings_diff: (old_settings, new_settings),
342342
permission_diffs,
343343
branch_protection_diffs,
@@ -745,7 +745,7 @@ impl std::fmt::Display for CreateRepoDiff {
745745
struct UpdateRepoDiff {
746746
org: String,
747747
name: String,
748-
repo_id: String,
748+
repo_node_id: String,
749749
// old, new
750750
settings_diff: (RepoSettings, RepoSettings),
751751
permission_diffs: Vec<RepoPermissionAssignmentDiff>,
@@ -786,7 +786,7 @@ impl UpdateRepoDiff {
786786
}
787787

788788
for branch_protection in &self.branch_protection_diffs {
789-
branch_protection.apply(sync, &self.org, &self.name, &self.repo_id)?;
789+
branch_protection.apply(sync, &self.org, &self.name, &self.repo_node_id)?;
790790
}
791791
Ok(())
792792
}

0 commit comments

Comments
 (0)