Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit47d57fd

Browse files
authored
Remove SSH URL validation that prevents graceful handling (#170)
Azure repos should not fail completely when SSH URL is nil.The existing graceful handling code already logs appropriate warnings.
1 parente9dfdbb commit47d57fd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎vcsclient/azurerepos.go‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,9 +530,6 @@ func (client *AzureReposClient) GetRepositoryInfo(ctx context.Context, owner, re
530530
ifresponse.RemoteUrl==nil {
531531
returnRepositoryInfo{},fmt.Errorf("failed to retrieve <%s/%s/%s> repository info, received nil HTTP clone URL",owner,client.vcsInfo.Project,repository)
532532
}
533-
ifresponse.SshUrl==nil {
534-
returnRepositoryInfo{},fmt.Errorf("failed to retrieve <%s/%s/%s> repository info, received nil SSH clone URL",owner,client.vcsInfo.Project,repository)
535-
}
536533

537534
visibility:=Private
538535
visibilityFromResponse:=*response.Project.Visibility

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp