From f1606e68af6e3b30c4ad26a979dc481283cf4f99 Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <manuel.kieweg@h-da.de>
Date: Tue, 22 Jun 2021 16:23:53 +0100
Subject: [PATCH] change sbi signature

---
 interfaces/southbound/sbi.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/interfaces/southbound/sbi.go b/interfaces/southbound/sbi.go
index 88d28a761..800d1a1f4 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
 }
-- 
GitLab