mirror of
https://github.com/Luzifer/vault-totp.git
synced 2024-12-22 22:01:19 +00:00
Fix: GoSimple linter warning
This commit is contained in:
parent
edafa68d44
commit
5dc8ddddb5
2 changed files with 4 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -2,3 +2,6 @@ ci:
|
||||||
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
||||||
bash golang.sh
|
bash golang.sh
|
||||||
|
|
||||||
|
|
||||||
|
test:
|
||||||
|
gometalinter --deadline 20s --cyclo-over=15
|
||||||
|
|
2
main.go
2
main.go
|
@ -153,7 +153,7 @@ func getSecretsFromVault() ([]token, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scanPool = scanPool[1:len(scanPool)]
|
scanPool = scanPool[1:]
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue