X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=cmd%2Fbinapi-generator%2Ftypes.go;h=90c890f027a69249a990afe2c780a4d265e39b19;hb=c4522fe10317b1729a0820dc880afc78c663f64d;hp=d056251c5076c05ec5c175749bdeeb00d6b9d8eb;hpb=0ff02b6b1f0757f5e4c011457757bd18d0a60f01;p=govpp.git diff --git a/cmd/binapi-generator/types.go b/cmd/binapi-generator/types.go index d056251..90c890f 100644 --- a/cmd/binapi-generator/types.go +++ b/cmd/binapi-generator/types.go @@ -18,6 +18,8 @@ import ( "fmt" "strconv" "strings" + + "github.com/sirupsen/logrus" ) // toApiType returns name that is used as type reference in VPP binary API @@ -62,7 +64,7 @@ func convertToGoType(ctx *context, binapiType string) (typ string) { typ = binapiType default: // fallback type - log.Warnf("found unknown VPP binary API type %q, using byte", binapiType) + logrus.Warnf("found unknown VPP binary API type %q, using byte", binapiType) typ = "byte" } }