diff --git a/pkg/tools/sandbox/utils.go b/pkg/tools/sandbox/utils.go index 2daeae70d7..57819b2117 100644 --- a/pkg/tools/sandbox/utils.go +++ b/pkg/tools/sandbox/utils.go @@ -111,7 +111,7 @@ func DefaultDialOptions(genTokenFunc token.GeneratorFunc) []grpc.DialOption { // Name creates unique name with the given prefix func Name(prefix string) string { - return prefix + "-" + uuid.New().String() + return fmt.Sprintf("%s-%s", prefix, uuid.New().String()) } // SetupDefaultNode setups NSMgr and default Forwarder on the given node