1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

changed copy sub subjects to use "." for uuid

This commit is contained in:
postmannen 2022-06-10 06:34:39 +02:00
parent c86e513cc0
commit 95ce5fed3b

View file

@ -91,7 +91,7 @@ func (m methodREQCopySrc) handler(proc process, message Message, node string) ([
// Create a subject for one copy request
uid := uuid.New()
subProcessName = fmt.Sprintf("copySrc_%v", uid.String())
subProcessName = fmt.Sprintf("copySrc.%v", uid.String())
m := Method(subProcessName)
sub := newSubjectNoVerifyHandler(m, node)
@ -199,7 +199,7 @@ func (m methodREQCopyDst) handler(proc process, message Message, node string) ([
ctx, _ := getContextForMethodTimeout(proc.ctx, message)
// Create a subject for one copy request
subProcessName = fmt.Sprintf("copyDst_%v", cia.UUID)
subProcessName = fmt.Sprintf("copyDst.%v", cia.UUID)
m := Method(subProcessName)
sub := newSubjectNoVerifyHandler(m, node)