Skip to content

Commit 150e663

Browse files
SBonesmeta-codesync[bot]
authored andcommitted
Migrate get_uptime caller to modern thrift-python
Summary: Migrate caller in do_uptime from get_uptime_legacy to the modern get_uptime implementation. Reviewed By: muirdm Differential Revision: D90630857 fbshipit-source-id: 7ee99eabb78e5c7f3e5fa677b79ab7ab83599737
1 parent 70c3268 commit 150e663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eden/fs/cli/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ def do_uptime(self, pretty: bool, out: Optional[IO[bytes]] = None) -> None:
13431343
out.write(running_details.encode())
13441344
return
13451345

1346-
uptime = self.get_uptime_legacy() # Check if uptime is negative?
1346+
uptime = self.get_uptime() # Check if uptime is negative?
13471347
days = uptime.days
13481348
hours, remainder = divmod(uptime.seconds, 3600)
13491349
minutes, seconds = divmod(remainder, 60)

0 commit comments

Comments
 (0)