Skip to content

Commit 1920f42

Browse files
committed
chore(desk/allocations): output additional logs
1 parent 71d89a0 commit 1920f42

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

drivers/place/desk/allocations.cr

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,15 @@ class Place::Desk::Allocations < PlaceOS::Driver
218218
end
219219
logger.debug { "found #{removed_allocations} allocations to be removed" }
220220

221+
logger.debug do
222+
String.build do |str|
223+
str << "allocation changes:\n"
224+
level_allocations.each do |level, allocations|
225+
str << " - lvl #{level}: #{allocations.inspect}\n"
226+
end
227+
end
228+
end
229+
221230
# update the allocation metadata
222231
return if test
223232
level_allocations.each do |level_id, allocations|

shard.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ shards:
3535

3636
bacnet:
3737
git: https://github.com/spider-gazelle/crystal-bacnet.git
38-
version: 1.0.0+git.commit.0a890615fc53a068d563cf8d034f79a38c10b58a
38+
version: 1.0.0+git.commit.343835f3e9c8267868bc130edf1124d3774fb119
3939

4040
bindata:
4141
git: https://github.com/spider-gazelle/bindata.git
@@ -239,7 +239,7 @@ shards:
239239

240240
placeos-driver:
241241
git: https://github.com/placeos/driver.git
242-
version: 7.12.0
242+
version: 7.13.0
243243

244244
placeos-log-backend:
245245
git: https://github.com/place-labs/log-backend.git

0 commit comments

Comments
 (0)