diff --git a/interfaces/southbound/sbi.go b/interfaces/southbound/sbi.go index 88d28a761561a95adf1e0f4b596ccfbbeb19f0ef..800d1a1f4c8b1b3a4dffea33b9bd745a27ec485c 100644 --- a/interfaces/southbound/sbi.go +++ b/interfaces/southbound/sbi.go @@ -19,9 +19,9 @@ type SouthboundInterface interface { // nolint // SetNode injects SBI specific model // representation to the transport. // Needed for type assertion. - SetNode() func(schema *yang.Entry, root interface{}, path *gpb.Path, val interface{}, opts ...ytypes.SetNodeOpt) error + SetNode(schema *yang.Entry, root interface{}, path *gpb.Path, val interface{}, opts ...ytypes.SetNodeOpt) error Schema() *ytypes.Schema ID() uuid.UUID Type() spb.Type - Unmarshal() func([]byte, []string, ygot.ValidatedGoStruct, ...ytypes.UnmarshalOpt) error + Unmarshal([]byte, []string, ygot.ValidatedGoStruct, ...ytypes.UnmarshalOpt) error }