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

add set auth

parent d083e0e8
No related branches found
No related tags found
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 #80130 passed with warnings
...@@ -90,6 +90,7 @@ func (g *Gnmi) Set(ctx context.Context, payload change.Payload) error { ...@@ -90,6 +90,7 @@ func (g *Gnmi) Set(ctx context.Context, payload change.Payload) error {
if g.client == nil { if g.client == nil {
return &errors.ErrNilClient{} return &errors.ErrNilClient{}
} }
ctx = gnmi.NewContext(ctx, g.config)
return g.applyDiff(ctx, payload) return g.applyDiff(ctx, payload)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment