Skip to content
  • Iustin Pop's avatar
    Change node disk/hv_state query in confd · 82953e9a
    Iustin Pop authored
    
    
    Currently, the Python code returns either FS_UNAVAIL (if these
    attributes are None) or the proper dicts. As we don't allow editing of
    these attributes, in most cases they will therefore be FS_UNAVAIL on
    the client.
    
    The Haskell code however returns missingRuntime, which is FS_NODATA,
    so a mismatch (that also incurs a RPC call). Fixing it is easy, and
    makes the output consistent.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
    82953e9a