Skip to content

Commit

Permalink
refactor: update random topic UUID generation method
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Dec 12, 2024
1 parent 0234e2f commit 703a05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/common/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var (
TOPIC1_NAME = topic_names[0]
TOPIC2_NAME = topic_names[1]
TOPIC3_NAME = topic_names[2]
random_topic_uuids = random.RandomUniqueInts(10, 100, 3)
random_topic_uuids = random.RandomInts(10, 100, 3)
TOPIC1_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[0])
TOPIC2_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[1])
TOPIC3_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[2])
Expand Down

0 comments on commit 703a05d

Please sign in to comment.