fix: lint issue

This commit is contained in:
Kevin Franklin Kim 2025-04-28 11:06:19 +02:00
parent 1dbf21ce9c
commit 8787adc7e5
No known key found for this signature in database

View File

@ -2,7 +2,6 @@ package az
import (
"context"
"fmt"
"strings"
"github.com/foomo/posh/pkg/log"
@ -18,5 +17,5 @@ func AuthChecker(ctx context.Context, l log.Logger) []check.Info {
} else if strings.Contains(string(out), "az login") {
return []check.Info{check.NewNoteInfo(name, "Unauthenticated")}
}
return []check.Info{check.NewSuccessInfo(name, fmt.Sprintf("Authenticated"))}
return []check.Info{check.NewSuccessInfo(name, "Authenticated")}
}