forked from lix-project/hydra
* hydra: indentation and fixed duplicate key in cachedgitinputs bug
This commit is contained in:
parent
63acc9fb1c
commit
a1c7e359be
|
@ -322,7 +322,7 @@ sub fetchInputGit {
|
|||
|
||||
if (!defined $cachedInput) {
|
||||
txn_do($db, sub {
|
||||
$db->resultset('CachedGitInputs')->create(
|
||||
$db->resultset('CachedGitInputs')->update_or_create(
|
||||
{ uri => $uri
|
||||
, branch => $branch
|
||||
, revision => $revision
|
||||
|
|
Loading…
Reference in a new issue