* 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) {
|
if (!defined $cachedInput) {
|
||||||
txn_do($db, sub {
|
txn_do($db, sub {
|
||||||
$db->resultset('CachedGitInputs')->create(
|
$db->resultset('CachedGitInputs')->update_or_create(
|
||||||
{ uri => $uri
|
{ uri => $uri
|
||||||
, branch => $branch
|
, branch => $branch
|
||||||
, revision => $revision
|
, revision => $revision
|
||||||
|
Loading…
x
Reference in New Issue
Block a user