fix: var-declaration linter findings
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
parent
e5ed45c258
commit
e664639e98
5 changed files with 8 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue