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

golint --fix

parent 8a8516ed
No related branches found
No related tags found
1 merge request!155Northbound Interface
This commit is part of merge request !155. Comments created here will be created in the context of that merge request.
package gosdn
import (
spb "code.fbi.h-da.de/cocsn/api/go/gosdn/southbound"
"context"
"net"
"net/http"
......
......@@ -288,11 +288,7 @@ func handleSetSbi(pnd nucleus.PrincipalNetworkDomain, req []*ppb.SetSbi) (*ppb.S
}
func handleSetChange(pnd nucleus.PrincipalNetworkDomain, req []*ppb.SetChange) (*ppb.SetResponse, error) {
<<<<<<< HEAD
for _, r := range req {
=======
for _,r := range req {
>>>>>>> 4a937a94 (nbi implementation done)
cuid, err := uuid.Parse(r.Cuid)
if err != nil {
return nil, err
......@@ -320,11 +316,7 @@ func handleSetChange(pnd nucleus.PrincipalNetworkDomain, req []*ppb.SetChange) (
}
func handleChangeRequest(pnd nucleus.PrincipalNetworkDomain, req []*ppb.ChangeRequest) (*ppb.SetResponse, error) {
<<<<<<< HEAD
for _, r := range req {
=======
for _,r := range req {
>>>>>>> 4a937a94 (nbi implementation done)
did, err := uuid.Parse(r.Id)
if err != nil {
return nil, err
......
package nucleus
import (
ppb "code.fbi.h-da.de/cocsn/api/go/gosdn/pnd"
"errors"
"os"
"sync"
......
package nucleus
import (
ppb "code.fbi.h-da.de/cocsn/api/go/gosdn/pnd"
"context"
"reflect"
......
......@@ -9,9 +9,6 @@ import (
spb "code.fbi.h-da.de/cocsn/api/go/gosdn/southbound"
tpb "code.fbi.h-da.de/cocsn/api/go/gosdn/transport"
spb "code.fbi.h-da.de/cocsn/api/go/gosdn/southbound"
tpb "code.fbi.h-da.de/cocsn/api/go/gosdn/transport"
"code.fbi.h-da.de/cocsn/gosdn/forks/goarista/gnmi"
"code.fbi.h-da.de/cocsn/gosdn/mocks"
"code.fbi.h-da.de/cocsn/yang-models/generated/openconfig"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment