• nnelson's avatar
    Support retrieval of disk statistics from Gitaly · 81a54f29
    nnelson authored
    Add a rudimentary client implementation for the new gitaly
    disk_statistics grpc.
    
    Add unit tests.
    
    New gitaly server methods include disk_used and
    disk_available.  This commit adds unit testing
    for those methods.
    
    Add default server response on error
    
    When the remote service is unavailable, times out,
    or otherwise causes a service call failure, return
    a default response with trivial values set to its
    fields.
    81a54f29
server.rb 2.75 KB