diff --git a/gnmitarget/target.go b/gnmitarget/target.go index 62bc59b8f8c990695412bc847d04f97d049e584e..3b48534cd944068eedc970a93b14323e3d6d9deb 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 eb61ead2f92553747ac737cee690e96830ef1ce4..70ad2d8599d33eca475f15fe37beba03313fec89 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 }