Skip to content
Snippets Groups Projects

Commit-Confirm Mechanic for PND

Merged Ghost User requested to merge 99-commit-confirm-mechanic-for-ond-changes into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -51,7 +51,7 @@ func NewPND(name, description string, id uuid.UUID, sbi SouthboundInterface) (Pr
@@ -51,7 +51,7 @@ func NewPND(name, description string, id uuid.UUID, sbi SouthboundInterface) (Pr
errChans: make(map[uuid.UUID]chan error),
errChans: make(map[uuid.UUID]chan error),
}
}
if err := pnd.sbic.add(sbi); err != nil {
if err := pnd.sbic.add(sbi); err != nil {
return nil, &ErrAlreadyExists{item: sbi}
return nil, err
}
}
return pnd, nil
return pnd, nil
}
}
Loading