Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
olomix committed Oct 14, 2024
1 parent 69fac93 commit 6371a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/polygonid/polygonid.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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
}

Expand Down

0 comments on commit 6371a22

Please sign in to comment.