From ca4c15925c0d0f14dc075afa3e6cfe5644300beb Mon Sep 17 00:00:00 2001 From: Tedi Mitiku Date: Fri, 6 Oct 2023 16:28:50 -0400 Subject: [PATCH] fix err msg --- engine/server/engine/enclave_manager/enclave_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/engine/enclave_manager/enclave_manager.go b/engine/server/engine/enclave_manager/enclave_manager.go index 76ac0d1eab..495c763292 100644 --- a/engine/server/engine/enclave_manager/enclave_manager.go +++ b/engine/server/engine/enclave_manager/enclave_manager.go @@ -496,7 +496,7 @@ func (manager *EnclaveManager) cleanEnclaves( successfullyDestroyedEnclaveIdStrs = append(successfullyDestroyedEnclaveIdStrs, string(enclaveId)) if err := manager.enclaveLogFileManager.RemoveEnclaveLogs(string(enclaveId)); err != nil { - logRemovalErr := stacktrace.Propagate(err, "An error occurred removing enclave '$v' logs.") + logRemovalErr := stacktrace.Propagate(err, "An error occurred removing enclave '%v' logs.", enclaveId) enclaveDestructionErrors = append(enclaveDestructionErrors, logRemovalErr) } }