Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "API update"
[ric-plt/xapp-frame.git]
/
pkg
/
clientmodel
/
subscription_type.go
diff --git
a/pkg/clientmodel/subscription_type.go
b/pkg/clientmodel/subscription_type.go
index
6a2574c
..
eafbe57
100644
(file)
--- a/
pkg/clientmodel/subscription_type.go
+++ b/
pkg/clientmodel/subscription_type.go
@@
-20,9
+20,6
@@
type SubscriptionType string
const (
const (
- // SubscriptionTypeControl captures enum value "control"
- SubscriptionTypeControl SubscriptionType = "control"
-
// SubscriptionTypeInsert captures enum value "insert"
SubscriptionTypeInsert SubscriptionType = "insert"
// SubscriptionTypeInsert captures enum value "insert"
SubscriptionTypeInsert SubscriptionType = "insert"
@@
-38,7
+35,7
@@
var subscriptionTypeEnum []interface{}
func init() {
var res []SubscriptionType
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 {
panic(err)
}
for _, v := range res {