Skip to content

Commit 423ec36

Browse files
authored
fix: delete even single endpoint service (#207)
1 parent dac2c05 commit 423ec36

File tree

1 file changed

+2
-1
lines changed
  • modules/project_cleanup/function_source

1 file changed

+2
-1
lines changed

modules/project_cleanup/function_source/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ func invoke(ctx context.Context) {
406406
return
407407
}
408408

409-
if len(listResponse.Services) <= 1 {
409+
logger.Printf("Got [%d] services for the project [%s]", len(listResponse.Services), projectId)
410+
if len(listResponse.Services) == 0 {
410411
return
411412
}
412413

0 commit comments

Comments
 (0)