Skip to content
Snippets Groups Projects
Commit 4b1e153c authored by Neil Schark's avatar Neil Schark
Browse files

fix linter

parent 42852b4c
No related branches found
No related tags found
1 merge request!404Enable export and import of SDN configuration
Pipeline #124794 failed
This commit is part of merge request !404. Comments created here will be created in the context of that merge request.
...@@ -123,7 +123,6 @@ func (g *Gnmi) applyDiff(ctx context.Context, payload change.Payload, path *gpb. ...@@ -123,7 +123,6 @@ func (g *Gnmi) applyDiff(ctx context.Context, payload change.Payload, path *gpb.
} }
if op := ctx.Value(types.CtxKeyOperation); op == ppb.ApiOperation_API_OPERATION_UPDATE || op == ppb.ApiOperation_API_OPERATION_REPLACE { if op := ctx.Value(types.CtxKeyOperation); op == ppb.ApiOperation_API_OPERATION_UPDATE || op == ppb.ApiOperation_API_OPERATION_REPLACE {
filteredUpdates := make([]*gpb.Update, 0) filteredUpdates := make([]*gpb.Update, 0)
for _, u := range diff.Update { for _, u := range diff.Update {
rootSchema := schema.RootSchema() rootSchema := schema.RootSchema()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment