mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-03 00:13:52 +08:00
athena: fix random test failure (#24278)
This commit is contained in:
@@ -255,12 +255,12 @@ def getMessage(service=None, timeout=1000):
|
||||
|
||||
|
||||
@dispatcher.add_method
|
||||
def getVersion():
|
||||
def getVersion() -> Dict[str, str]:
|
||||
return {
|
||||
"version": get_version(),
|
||||
"remote": get_origin(),
|
||||
"branch": get_short_branch(),
|
||||
"commit": get_commit(),
|
||||
"remote": get_origin(''),
|
||||
"branch": get_short_branch(''),
|
||||
"commit": get_commit(default=''),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user