Skip to content
Snippets Groups Projects
Commit c483c139 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

passthrough functions

parent ffb10766
Branches
Tags
8 merge requests!246Develop,!245Develop into Master,!244Master into develop2 into master,!219Draft: Testing,!214Test pipelines,!195DO NOT MERGE 2,!194DO NOT MERGE! just for testing,!138Develop
Pipeline #73571 passed
This commit is part of merge request !138. Comments created here will be created in the context of that merge request.
......@@ -341,3 +341,11 @@ func (g *Gnmi) subscribe(ctx context.Context) error {
func (g *Gnmi) Close() error {
return nil
}
func (g *Gnmi) SetPassthrough(ctx context.Context, req *gpb.SetRequest) (*gpb.SetResponse, error) {
return g.client.Set(ctx, req)
}
func (g *Gnmi) GetPassthrough(ctx context.Context, req *gpb.GetRequest) (*gpb.GetResponse, error) {
return g.client.Get(ctx, req)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment