Skip to content

Commit d27aab0

Browse files
committed
Fix error type names in SharedStateError
The error types were changed to be more concise.
1 parent 8acbac9 commit d27aab0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/router/src/shared_state.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ impl RouterSharedState {
4343
#[derive(thiserror::Error, Debug)]
4444
pub enum SharedStateError {
4545
#[error("invalid headers config: {0}")]
46-
HeaderRuleCompileError(#[from] Box<HeaderRuleCompileError>),
46+
HeaderRuleCompile(#[from] Box<HeaderRuleCompileError>),
4747
#[error("invalid regex in CORS config: {0}")]
48-
CORSConfigError(#[from] Box<CORSConfigError>),
48+
CORSConfig(#[from] Box<CORSConfigError>),
4949
#[error("invalid override labels config: {0}")]
50-
OverrideLabelsCompileError(#[from] Box<OverrideLabelsCompileError>),
50+
OverrideLabelsCompile(#[from] Box<OverrideLabelsCompileError>),
5151
}

0 commit comments

Comments
 (0)