Skip to content

Commit b3d8f2c

Browse files
committed
add debug logging
1 parent 6450143 commit b3d8f2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

microservices/kubeApi/routers/routes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ async def verify_and_create_routes(namespace: str, request: Request):
176176
"dataClass": route["metadata"]["annotations"].get("aviinfrasetting.ako.vmware.com/name").split("-")[-1] if route["metadata"]["annotations"].get("aviinfrasetting.ako.vmware.com/name") else None
177177
}
178178
)
179+
logger.debug("source routes: " + str(source_routes))
180+
logger.debug("existing routes: " + str(existing_routes))
179181

180182
insert_batch = [x for x in source_routes if not in_list(x, existing_routes)]
181183
delete_batch = [y for y in existing_routes if not in_list_by_name(y, source_routes)]

0 commit comments

Comments
 (0)