Skip to content
Snippets Groups Projects
Commit 3afcf4f9 authored by Fabian Seidl's avatar Fabian Seidl Committed by Fabian Seidl
Browse files

updated pnd api to fit refactoring, maybe change to list version, WIP

parent 39fe4769
No related branches found
No related tags found
1 merge request!238Stfaseid http refactor
This commit is part of merge request !238. Comments created here will be created in the context of that merge request.
......@@ -206,7 +206,7 @@ func (p *PrincipalNetworkDomainAdapter) Confirm(cuid uuid.UUID) error {
return nil
}
func filterChanges(state ppb.ChangeState, resp *ppb.GetResponse) []uuid.UUID {
func filterChanges(state ppb.ChangeState, resp *ppb.GetChangeResponse) []uuid.UUID {
changes := make([]uuid.UUID, 0)
for _, ch := range resp.Change {
if ch.State == state {
......
......@@ -647,7 +647,7 @@ func TestPrincipalNetworkDomainAdapter_Confirm(t *testing.T) {
func Test_filterChanges(t *testing.T) {
type args struct {
state ppb.ChangeState
resp *ppb.GetResponse
resp *ppb.GetChangeResponse
}
tests := []struct {
name string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment