do not log random errors using Go logger (#2355)

we need to make sure that we print in consistent
format for the logs, remove the unnecessary logs
everywhere used via `log.Print*`
This commit is contained in:
Harshavardhana
2022-10-04 10:39:28 -07:00
committed by GitHub
parent 413870e995
commit f8475af5a6
3 changed files with 12 additions and 16 deletions

View File

@@ -22,7 +22,6 @@ import (
"encoding/json"
"errors"
"fmt"
"log"
"github.com/minio/console/pkg/http"
@@ -150,7 +149,6 @@ func ParseLicense(client http.ClientI, license string) (*licverifier.LicenseInfo
subnetPubKey, err := downloadSubnetPublicKey(client)
if err != nil {
log.Print(err)
// there was an issue getting the subnet public key
// use hardcoded public keys instead
publicKeys = OfflinePublicKeys