X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fmodels%2Fsubscription_type.go;h=c7dd86ec9dda34fb3a11f4ea2c8763cd770ee085;hb=fd34786fa6e250c4e7cde11abd655c2a72be6494;hp=8c6b7cfb1e0bf6007f09dfceccb354a0ed8e80af;hpb=3895a8c8775ef96652e6473414fdd7366c59f404;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/models/subscription_type.go b/pkg/models/subscription_type.go index 8c6b7cf..c7dd86e 100644 --- a/pkg/models/subscription_type.go +++ b/pkg/models/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 {