forked from lix-project/lix
Replace error message in getDerivationCA
This commit is contained in:
parent
0c9c1b8826
commit
e8e1f5282f
|
@ -126,7 +126,7 @@ std::optional<std::string> getDerivationCA(const BasicDerivation & drv)
|
||||||
else if (outputHashMode->second == "flat")
|
else if (outputHashMode->second == "flat")
|
||||||
ingestionMethod = FileIngestionMethod::Flat;
|
ingestionMethod = FileIngestionMethod::Flat;
|
||||||
else
|
else
|
||||||
throw Error("unknown ingestion method: '%s'", outputHashMode->second);
|
throw Error("unknown outputHashMode: '%s'", outputHashMode->second);
|
||||||
return makeFixedOutputCA(ingestionMethod, h);
|
return makeFixedOutputCA(ingestionMethod, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue