fix: var-declaration linter findings

Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
Mario Constanti 2024-02-22 08:54:12 +01:00
parent e5ed45c258
commit e664639e98
5 changed files with 8 additions and 8 deletions

View file

@ -436,7 +436,7 @@ func (g GithubCredentials) RootCertificateBundle() (CertificateBundle, error) {
ret := map[string][]byte{}
var block *pem.Block
var rest []byte = g.CABundle
var rest = g.CABundle
for {
block, rest = pem.Decode(rest)
if block == nil {