Skip to content

Commit eb6d32f

Browse files
refactor: Rename ValidateOrgAndRepoNames to ValidateNamesAreNotUrls
1 parent ffefaa1 commit eb6d32f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gei/Commands/MigrateRepo/MigrateRepoCommandArgs.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public override void Validate(OctoLogger log)
9797
{
9898
throw new OctoshiftCliException("The --use-github-storage flag was provided with a connection string for an Azure storage account. Archive cannot be uploaded to both locations.");
9999
}
100-
ValidateOrgAndRepoNames();
100+
ValidateNamesAreNotUrls();
101101
}
102102

103103
private void DefaultTargetRepo(OctoLogger log)
@@ -117,7 +117,7 @@ private void DefaultSourcePat(OctoLogger log)
117117
log?.LogInformation("Since github-target-pat is provided, github-source-pat will also use its value.");
118118
}
119119
}
120-
private void ValidateOrgAndRepoNames()
120+
private void ValidateNamesAreNotUrls()
121121
{
122122
if (GithubSourceOrg.HasValue() && Uri.IsWellFormedUriString(GithubSourceOrg, UriKind.Absolute))
123123
{

0 commit comments

Comments
 (0)