Change node disk/hv_state query in confd
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:Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
Please register or sign in to comment