@@ -107,7 +107,7 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
async def clean_unused(self, max_age):
await self._set_mode(self.MODE_NORMAL)
- return await self.send_message({"clean_unused": {"max_age_seconds": max_age}})
+ return await self.send_message({"clean-unused": {"max_age_seconds": max_age}})
class Client(bb.asyncrpc.Client):
@@ -187,7 +187,7 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection):
'reset-stats': self.handle_reset_stats,
'backfill-wait': self.handle_backfill_wait,
'remove': self.handle_remove,
- 'clean_unused': self.handle_clean_unused,
+ 'clean-unused': self.handle_clean_unused,
})
def validate_proto_version(self):
Because it will bother me that it doesn't match the others Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- bitbake/lib/hashserv/client.py | 2 +- bitbake/lib/hashserv/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)