We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af75f77 commit 1c6598fCopy full SHA for 1c6598f
internal/model.go
@@ -73,15 +73,15 @@ func (sd *SubscriptionData) Clone() *SubscriptionData {
73
74
if sd.Tags.Items() != nil {
75
cloned.Tags = utils.NewSet()
76
- for _, value := range sd.Tags.Items() {
77
- cloned.Tags.Add(value)
+ for key, value := range sd.Tags.Items() {
+ cloned.Tags.AddKV(key, value.UniqueID())
78
}
79
80
81
if sd.Codes.Items() != nil {
82
cloned.Codes = utils.NewSet()
83
- for _, value := range sd.Codes.Items() {
84
- cloned.Codes.Add(value)
+ for key, value := range sd.Codes.Items() {
+ cloned.Codes.AddKV(key, value.UniqueID())
85
86
87
0 commit comments