diff --git a/sled-agent/src/sled_agent.rs b/sled-agent/src/sled_agent.rs index d0a653268e..a154faac2c 100644 --- a/sled-agent/src/sled_agent.rs +++ b/sled-agent/src/sled_agent.rs @@ -1389,7 +1389,7 @@ impl SledAgent { pub(crate) async fn support_pstack_info( &self, ) -> Vec> { - sled_diagnostics::pargs_oxide_processes(&self.log).await + sled_diagnostics::pstack_oxide_processes(&self.log).await } } diff --git a/sled-diagnostics/src/queries.rs b/sled-diagnostics/src/queries.rs index 5ee2650406..2e8cf55993 100644 --- a/sled-diagnostics/src/queries.rs +++ b/sled-diagnostics/src/queries.rs @@ -37,14 +37,14 @@ pub trait SledDiagnosticsCommandHttpOutput { #[serde(rename_all = "snake_case")] pub enum SledDiagnosticsQueryOutput { Success { - /// The command and it's arguments. + /// The command and its arguments. command: String, /// Any stdout/stderr produced by the command. stdio: String, /// The exit status of the command. This will be the exit code (if any) /// and exit reason such as from a signal. exit_status: String, - /// The exit code if one was present when the comman exited. + /// The exit code if one was present when the command exited. exit_code: Option, }, Failure {