From badffdd358fbabcf77de43db8fe27b3516ba001d Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Fri, 29 Jan 2021 19:58:15 -0500 Subject: [PATCH] use the go string - not the c string in thelog msg --- service/cziti/sdk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/cziti/sdk.go b/service/cziti/sdk.go index d0dd8ff2..4b372039 100644 --- a/service/cziti/sdk.go +++ b/service/cziti/sdk.go @@ -491,9 +491,9 @@ func ZitiDump(zid *ZIdentity, path string) { e := os.Remove(path) if e != nil { //probably did not exist - log.Debugf("Could not remove file at: %s", cpath) + log.Debugf("Could not remove file at: %s", path) } else { - log.Debugf("Removed existing ziti_dump file at: %s", cpath) + log.Debugf("Removed existing ziti_dump file at: %s", path) } C.ziti_dump_go_wrapper(unsafe.Pointer(zid.czctx), cpath) log.Infof("ziti_dump saved to: %s", path)