You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps the best thing is that the get_error_log, get_firmware_log and get_smart_log functions were rewritten to return BlockResult<Value> instead of BlockResult<String>, so the user could call, for example:
There is a bug in handling the return of
serde_json::from_str()
in the nvme.rs functions (get_error_log
,get_firmware_log
andget_smart_log
):let deserialized: String = serde_json::from_str(&stdout)?;
The serde_json::from_str() function returns a
Value
and not aString
.Perhaps the best thing is that the
get_error_log
,get_firmware_log
andget_smart_log
functions were rewritten to returnBlockResult<Value>
instead ofBlockResult<String>
, so the user could call, for example:The text was updated successfully, but these errors were encountered: