diff --git a/api/pnd.go b/api/pnd.go index e53200fe51634d57fe5bada1a9900ba7234cb1b1..2b80713765109903b02f4cbbbe1a93403af02277 100644 --- a/api/pnd.go +++ b/api/pnd.go @@ -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 { diff --git a/api/pnd_test.go b/api/pnd_test.go index 2b9f44fa3132b6bc057b0da17f4a5279e3a3a589..977142fd64066064df0b60318b5de998c7600481 100644 --- a/api/pnd_test.go +++ b/api/pnd_test.go @@ -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