Skip to content

Commit

Permalink
main: ci skip: log member count only
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Sep 23, 2024
1 parent de49670 commit d83bf6b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,8 @@ pub fn main() !void {
if (i > 0 and @mod(i, 10) == 0) {
const members = try fleet.getMembers(gpa.allocator());
defer members.deinit();
for (members.items, 0..) |v, j| {
defer gpa.allocator().free(v);
log.info("(from main) member[{d}]: {s}", .{ j, v });
}
log.info("main: members={d}", .{members.items.len});
for (members.items) |v| gpa.allocator().free(v);
}
}
}
Expand Down

0 comments on commit d83bf6b

Please sign in to comment.