Skip to content

Commit

Permalink
fix: concourse version must be string
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Sep 8, 2022
1 parent e788296 commit d3e497d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/concourse/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ struct Source {
#[derive(Clone, Debug, Deserialize, Serialize)]
struct Version {
trigger: String,
version: Option<u32>,
version: Option<String>,
}
impl From<StateId> for Version {
fn from(id: StateId) -> Self {
Self {
trigger: id.head_commit,
version: Some(id.version),
version: Some(id.version.to_string()),
}
}
}
Expand Down

0 comments on commit d3e497d

Please sign in to comment.