forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add gofmt to golangci-lint in Makefile and .github/workflows/c…
…i-build.yaml (argoproj#13729) * fix: add gofmt to golangci-lint in Makefile and .github/workflows/ci-build.yaml Signed-off-by: Denis Dupeyron <[email protected]> * fix go formatting issues using gofmt Signed-off-by: Denis Dupeyron <[email protected]> * chore: simplify go code using gofmt Signed-off-by: Denis Dupeyron <[email protected]> --------- Signed-off-by: Denis Dupeyron <[email protected]>
- Loading branch information
Showing
24 changed files
with
102 additions
and
98 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
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 |
---|---|---|
|
@@ -108,26 +108,26 @@ func TestSCMProviderGenerateParams(t *testing.T) { | |
}, | ||
expected: []map[string]interface{}{ | ||
{ | ||
"organization": "myorg", | ||
"repository": "repo1", | ||
"url": "[email protected]:myorg/repo1.git", | ||
"branch": "main", | ||
"organization": "myorg", | ||
"repository": "repo1", | ||
"url": "[email protected]:myorg/repo1.git", | ||
"branch": "main", | ||
"branchNormalized": "main", | ||
"sha": "0bc57212c3cbbec69d20b34c507284bd300def5b", | ||
"short_sha": "0bc57212", | ||
"short_sha_7": "0bc5721", | ||
"labels": "prod,staging", | ||
"sha": "0bc57212c3cbbec69d20b34c507284bd300def5b", | ||
"short_sha": "0bc57212", | ||
"short_sha_7": "0bc5721", | ||
"labels": "prod,staging", | ||
}, | ||
{ | ||
"organization": "myorg", | ||
"repository": "repo2", | ||
"url": "[email protected]:myorg/repo2.git", | ||
"branch": "main", | ||
"organization": "myorg", | ||
"repository": "repo2", | ||
"url": "[email protected]:myorg/repo2.git", | ||
"branch": "main", | ||
"branchNormalized": "main", | ||
"sha": "59d0", | ||
"short_sha": "59d0", | ||
"short_sha_7": "59d0", | ||
"labels": "", | ||
"sha": "59d0", | ||
"short_sha": "59d0", | ||
"short_sha_7": "59d0", | ||
"labels": "", | ||
}, | ||
}, | ||
}, | ||
|
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 |
---|---|---|
|
@@ -3,5 +3,6 @@ package assets | |
import "embed" | ||
|
||
// Embedded contains embedded assets | ||
// | ||
//go:embed * | ||
var Embedded embed.FS |
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 |
---|---|---|
|
@@ -5,5 +5,6 @@ import ( | |
) | ||
|
||
// Embedded contains embedded resource customization | ||
// | ||
//go:embed * | ||
var Embedded embed.FS |
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
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 |
---|---|---|
|
@@ -3,5 +3,6 @@ package ui | |
import "embed" | ||
|
||
// Embedded contains embedded UI resources | ||
// | ||
//go:embed dist/app | ||
var Embedded embed.FS |
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
Oops, something went wrong.