From 38e29640a7be45edb414e74ce333ae3b3c794c7f Mon Sep 17 00:00:00 2001
From: Malte Bauch <malte.bauch@extern.h-da.de>
Date: Tue, 7 Jun 2022 19:57:47 +0200
Subject: [PATCH] WIP

---
 gnmitarget/target.go        | 2 +-
 os_clients/ubuntu/ubuntu.go | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnmitarget/target.go b/gnmitarget/target.go
index 62bc59b..3b48534 100644
--- a/gnmitarget/target.go
+++ b/gnmitarget/target.go
@@ -71,7 +71,7 @@ func StartGNMITarget(bindAddress string, configFile string, osclient string) err
 		log.Fatalf("error in creating GNMI target: %v", err)
 	}
 
-	go scheduler(gnmiServer, currentosclient)
+	//go scheduler(gnmiServer, currentosclient)
 
 	// Create new GRPC Server without service registert
 	grpcServer := grpc.NewServer()
diff --git a/os_clients/ubuntu/ubuntu.go b/os_clients/ubuntu/ubuntu.go
index eb61ead..70ad2d8 100644
--- a/os_clients/ubuntu/ubuntu.go
+++ b/os_clients/ubuntu/ubuntu.go
@@ -1,7 +1,6 @@
 package ubuntu
 
 import (
-	"fmt"
 	"net"
 	"os"
 	"os/exec"
@@ -90,7 +89,8 @@ func (ou *OsclientUbuntu) callbackFunc(config ygot.ValidatedGoStruct) error {
 				return err
 			}
 		}
-		return fmt.Errorf("the path: %s is not supported", schemaPath)
+		//ignore all other paths for now
+		//return fmt.Errorf("the path: %s is not supported", schemaPath)
 	}
 	return nil
 }
-- 
GitLab