Skip to content

Commit

Permalink
fix: ErrBox -> opError
Browse files Browse the repository at this point in the history
  • Loading branch information
ecyrbe committed Feb 23, 2020
1 parent 3ddc01c commit 77afe3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/ops/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fn op_os_release(
state: &State,
_args: Value,
_zero_copy: Option<ZeroCopyBuf>,
) -> Result<JsonOp, ErrBox> {
) -> Result<JsonOp, OpBox> {
state.check_env()?;
let release = sys_info::os_release().unwrap_or_else(|_| "".to_string());
Ok(JsonOp::Sync(json!(release)))
Expand Down

0 comments on commit 77afe3f

Please sign in to comment.