Skip to content

Commit 0ca76b2

Browse files
authored
Merge pull request #20858 from ivanvc/use-golangci-lint-gofmt-fix
Don't manually run go fmt
2 parents 4807b85 + 1bb0d84 commit 0ca76b2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/fix.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ set -euo pipefail
1818
source ./scripts/test_lib.sh
1919
source ./scripts/updatebom.sh
2020

21-
# To fix according to newer version of go:
22-
# go get golang.org/dl/gotip
23-
# gotip download
24-
# GO_CMD="gotip"
25-
GO_CMD="go"
26-
2721
function bash_ws_fix {
2822
TAB=$'\t'
2923

@@ -36,7 +30,6 @@ function bash_ws_fix {
3630

3731
log_callout -e "\\nFixing etcd code for you...\n"
3832

39-
run_for_modules run ${GO_CMD} fmt || exit 2
4033
bash_ws_fix || exit 2
4134

4235
log_success -e "\\nSUCCESS: etcd code is fixed :)"

0 commit comments

Comments
 (0)