Skip to content

Commit

Permalink
Merge pull request #893 from humio/mike/license_type_err
Browse files Browse the repository at this point in the history
Use correct format when printing unknown license type
  • Loading branch information
SaaldjorMike authored Dec 19, 2024
2 parents 594b1df + d2d963a commit 4733d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/humio/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ func (h *ClientConfig) GetLicenseUIDAndExpiry(ctx context.Context, client *humio
case *humiographql.GetLicenseInstalledLicenseOnPremLicense:
return v.GetUid(), v.GetExpiresAt(), nil
default:
return "", time.Time{}, fmt.Errorf("unknown license type %t", v)
return "", time.Time{}, fmt.Errorf("unknown license type %T", v)
}
}

Expand Down

0 comments on commit 4733d0c

Please sign in to comment.