Skip to content

Commit

Permalink
Changes prints to debugs to fix integration test
Browse files Browse the repository at this point in the history
Signed-off-by: David Gilligan-Cook <dcook@imageworks.com>
  • Loading branch information
dcookspi committed Oct 10, 2024
1 parent 1f7061b commit 9e12a6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/spfs/src/tracking/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,15 +484,15 @@ fn parse_env_spec_item<S: AsRef<str>>(spec: S) -> Result<EnvSpecItem> {
encoding::parse_digest(spec)
.map(EnvSpecItem::Digest)
.or_else(|err| {
println!("Unable to parse as a Digest: {err}");
tracing::debug!("Unable to parse as a Digest: {err}");
encoding::PartialDigest::parse(spec).map(EnvSpecItem::PartialDigest)
})
.or_else(|err| {
println!("Unable to parse as a Partial Digest: {err}");
tracing::debug!("Unable to parse as a Partial Digest: {err}");
SpfsSpecFile::parse(spec).map(EnvSpecItem::SpfsSpecFile)
})
.or_else(|err| {
println!("Unable to parse as a SpfsSpecFile: {err}");
tracing::debug!("Unable to parse as a SpfsSpecFile: {err}");
TagSpec::parse(spec).map(EnvSpecItem::TagSpec)
})
}

0 comments on commit 9e12a6c

Please sign in to comment.