X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fclientmodel%2Fsubscription_type.go;h=eafbe57138d19e1c2d9546315b7bda62940e0922;hb=c1f00b7d54ecd16ede9687b8cdb1d6517180e7c9;hp=6a2574ca3719cb69d9c8bc9c9d42dc227683af47;hpb=3895a8c8775ef96652e6473414fdd7366c59f404;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/clientmodel/subscription_type.go b/pkg/clientmodel/subscription_type.go index 6a2574c..eafbe57 100644 --- a/pkg/clientmodel/subscription_type.go +++ b/pkg/clientmodel/subscription_type.go @@ -20,9 +20,6 @@ type SubscriptionType string const ( - // SubscriptionTypeControl captures enum value "control" - SubscriptionTypeControl SubscriptionType = "control" - // SubscriptionTypeInsert captures enum value "insert" SubscriptionTypeInsert SubscriptionType = "insert" @@ -38,7 +35,7 @@ var subscriptionTypeEnum []interface{} func init() { var res []SubscriptionType - if err := json.Unmarshal([]byte(`["control","insert","policy","report"]`), &res); err != nil { + if err := json.Unmarshal([]byte(`["insert","policy","report"]`), &res); err != nil { panic(err) } for _, v := range res {