From 6371a22d6516aa276f55139af54d2180ccb90d07 Mon Sep 17 00:00:00 2001 From: Oleg Lomaka Date: Mon, 14 Oct 2024 05:11:47 -0400 Subject: [PATCH] fix lint errors --- cmd/polygonid/polygonid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/polygonid/polygonid.go b/cmd/polygonid/polygonid.go index 0be4304..f6070b7 100644 --- a/cmd/polygonid/polygonid.go +++ b/cmd/polygonid/polygonid.go @@ -778,7 +778,7 @@ func PLGNCleanCache(status **C.PLGNStatus) bool { err := c_polygonid.CleanCache("") if err != nil { - maybeCreateStatus(status, C.PLGNSTATUSCODE_ERROR, err.Error()) + maybeCreateStatus(status, C.PLGNSTATUSCODE_ERROR, "%v", err.Error()) return false } @@ -792,7 +792,7 @@ func PLGNCleanCache2(cfg *C.char, status **C.PLGNStatus) bool { envCfg, err := createEnvConfig(cfg) if err != nil { - maybeCreateStatus(status, C.PLGNSTATUSCODE_ERROR, err.Error()) + maybeCreateStatus(status, C.PLGNSTATUSCODE_ERROR, "%v", err.Error()) return false }