[management] exclude self from network map if self is routing peer (#3142)

This commit is contained in:
Pascal Fischer
2025-01-02 18:46:28 +01:00
committed by GitHub
parent 782e3f8853
commit bc013e4888
3 changed files with 43 additions and 9 deletions

View File

@ -925,7 +925,7 @@ func Test_SetupKeys_GetAll(t *testing.T) {
return tc.expectedResponse[i].UsageLimit < tc.expectedResponse[j].UsageLimit
})
for i, _ := range tc.expectedResponse {
for i := range tc.expectedResponse {
validateCreatedKey(t, tc.expectedResponse[i], &got[i])
key, err := am.GetSetupKey(context.Background(), testing_tools.TestAccountId, testing_tools.TestUserId, got[i].Id)