Skip to content

Commit

Permalink
fix: correct cost model query logic, better typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis committed Oct 11, 2023
1 parent 959afd6 commit b0dc604
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 208 deletions.
3 changes: 0 additions & 3 deletions service/src/common/indexer_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ pub enum IndexerErrorCode {
IE073,
IE074,
IE075,
IE076,
}

impl fmt::Display for IndexerErrorCode {
Expand Down Expand Up @@ -166,7 +165,6 @@ impl fmt::Display for IndexerErrorCode {
IndexerErrorCode::IE073 => write!(f, "IE073"),
IndexerErrorCode::IE074 => write!(f, "IE074"),
IndexerErrorCode::IE075 => write!(f, "IE075"),
IndexerErrorCode::IE076 => write!(f, "IE076"),
}
}
}
Expand Down Expand Up @@ -251,7 +249,6 @@ impl IndexerErrorCode {
Self::IE073 => "Failed to query subgraph features from indexing statuses endpoint",
Self::IE074 => "Failed to resolve the release version",
Self::IE075 => "Failed to parse response body to query string",
Self::IE076 => "Database read failed",
}
}

Expand Down
Loading

0 comments on commit b0dc604

Please sign in to comment.