Skip to content
Snippets Groups Projects

Resolve "Refactor the name of our own error package to prevent issues with the go errors package"

All threads resolved!
Files
44
+ 3
3
@@ -7,8 +7,8 @@ import (
@@ -7,8 +7,8 @@ import (
ppb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/pnd"
ppb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/pnd"
tpb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/transport"
tpb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/transport"
"code.fbi.h-da.de/danet/gosdn/controller/api"
"code.fbi.h-da.de/danet/gosdn/controller/api"
 
"code.fbi.h-da.de/danet/gosdn/controller/customerrs"
"code.fbi.h-da.de/danet/gosdn/controller/interfaces/southbound"
"code.fbi.h-da.de/danet/gosdn/controller/interfaces/southbound"
"code.fbi.h-da.de/danet/gosdn/controller/nucleus/errors"
"github.com/google/uuid"
"github.com/google/uuid"
"github.com/openconfig/goyang/pkg/yang"
"github.com/openconfig/goyang/pkg/yang"
"golang.org/x/sync/errgroup"
"golang.org/x/sync/errgroup"
@@ -37,12 +37,12 @@ func NewPndAdapter(id, endpoint string) (*PndAdapter, error) {
@@ -37,12 +37,12 @@ func NewPndAdapter(id, endpoint string) (*PndAdapter, error) {
// AddSbi adds an SBI to the PND Adapter. Currently not implemented.
// AddSbi adds an SBI to the PND Adapter. Currently not implemented.
func (p *PndAdapter) AddSbi(s southbound.SouthboundInterface) error {
func (p *PndAdapter) AddSbi(s southbound.SouthboundInterface) error {
return &errors.ErrNotYetImplemented{}
return &customerrs.NotYetImplementedError{}
}
}
// RemoveSbi removes an SBI from the PND Adapter. Currently not implemented.
// RemoveSbi removes an SBI from the PND Adapter. Currently not implemented.
func (p *PndAdapter) RemoveSbi(uuid.UUID) error {
func (p *PndAdapter) RemoveSbi(uuid.UUID) error {
return &errors.ErrNotYetImplemented{}
return &customerrs.NotYetImplementedError{}
}
}
// AddDevice adds a new device to the controller. The device name is optional.
// AddDevice adds a new device to the controller. The device name is optional.
Loading