Tracing: Updated management error message
This commit is contained in:
@@ -1721,10 +1721,10 @@ impl LimitEvent {
|
|||||||
impl ManageEvent {
|
impl ManageEvent {
|
||||||
pub fn description(&self) -> &'static str {
|
pub fn description(&self) -> &'static str {
|
||||||
match self {
|
match self {
|
||||||
ManageEvent::MissingParameter => "Missing management parameter",
|
ManageEvent::MissingParameter => "Missing parameter",
|
||||||
ManageEvent::AlreadyExists => "Managed resource already exists",
|
ManageEvent::AlreadyExists => "Record already exists",
|
||||||
ManageEvent::AssertFailed => "Management assertion failed",
|
ManageEvent::AssertFailed => "Assertion failed",
|
||||||
ManageEvent::NotFound => "Managed resource not found",
|
ManageEvent::NotFound => "Resource not found",
|
||||||
ManageEvent::NotSupported => "Management operation not supported",
|
ManageEvent::NotSupported => "Management operation not supported",
|
||||||
ManageEvent::Error => "Management error",
|
ManageEvent::Error => "Management error",
|
||||||
}
|
}
|
||||||
@@ -1732,8 +1732,8 @@ impl ManageEvent {
|
|||||||
|
|
||||||
pub fn explain(&self) -> &'static str {
|
pub fn explain(&self) -> &'static str {
|
||||||
match self {
|
match self {
|
||||||
ManageEvent::MissingParameter => "A management parameter is missing",
|
ManageEvent::MissingParameter => "A parameter is missing",
|
||||||
ManageEvent::AlreadyExists => "The managed resource already exists",
|
ManageEvent::AlreadyExists => "A record with the same name already exists",
|
||||||
ManageEvent::AssertFailed => "A management assertion has failed",
|
ManageEvent::AssertFailed => "A management assertion has failed",
|
||||||
ManageEvent::NotFound => "The managed resource was not found",
|
ManageEvent::NotFound => "The managed resource was not found",
|
||||||
ManageEvent::NotSupported => "The management operation is not supported",
|
ManageEvent::NotSupported => "The management operation is not supported",
|
||||||
|
|||||||
Reference in New Issue
Block a user