forked from goharbor/harbor
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: p2p instance test connection (goharbor#20968)
Signed-off-by: chlins <[email protected]> Co-authored-by: Wang Yan <[email protected]>
- Loading branch information
1 parent
ab400c9
commit ad8c5df
Showing
5 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,7 +162,7 @@ func (dd *DragonflyDriver) Self() *Metadata { | |
ID: "dragonfly", | ||
Name: "Dragonfly", | ||
Icon: "https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/master/docs/images/logo/dragonfly-linear.png", | ||
Version: "2.1.57", | ||
Version: "2.1.59", | ||
Source: "https://github.com/dragonflyoss/Dragonfly2", | ||
Maintainers: []string{"[email protected]", "[email protected]"}, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ func Test_convertProvidersToFrontend(t *testing.T) { | |
{"", | ||
backend, | ||
[]*models.Metadata{ | ||
{ID: "dragonfly", Icon: "https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/master/docs/images/logo/dragonfly-linear.png", Maintainers: []string{"[email protected]", "[email protected]"}, Name: "Dragonfly", Source: "https://github.com/dragonflyoss/Dragonfly2", Version: "2.1.57"}, | ||
{ID: "dragonfly", Icon: "https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/master/docs/images/logo/dragonfly-linear.png", Maintainers: []string{"[email protected]", "[email protected]"}, Name: "Dragonfly", Source: "https://github.com/dragonflyoss/Dragonfly2", Version: "2.1.59"}, | ||
{Icon: "https://github.com/uber/kraken/blob/master/assets/kraken-logo-color.svg", ID: "kraken", Maintainers: []string{"mmpei/[email protected]"}, Name: "Kraken", Source: "https://github.com/uber/kraken", Version: "0.1.3"}, | ||
}, | ||
}, | ||
|
@@ -288,6 +288,7 @@ func Test_convertParamInstanceToModelInstance(t *testing.T) { | |
Endpoint: "https://example.com", | ||
AuthMode: "none", | ||
AuthData: `{"name":"harbor"}`, | ||
AuthInfo: map[string]string{"name": "harbor"}, | ||
Status: "Unknown", | ||
Default: true, | ||
Insecure: true, | ||
|