forked from platypush/platypush
Fix: Ensure that components cache keys are ordered before dumping to file.
Reason: The CI/CD automation regenerates the cache file, and commits the changes if it differs from the previous version. The only way to ensure semantic equivalence is to sort the keys upon dump.
This commit is contained in:
parent
0f130235d3
commit
edd92b8467
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ class Cache:
|
||||||
'items': self.to_dict(),
|
'items': self.to_dict(),
|
||||||
},
|
},
|
||||||
cls=Message.Encoder,
|
cls=Message.Encoder,
|
||||||
|
sort_keys=True,
|
||||||
).encode()
|
).encode()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue