Skip to content

Commit

Permalink
Merge pull request #10652 from mlschroe/master
Browse files Browse the repository at this point in the history
[backend] fix typo in publish event generation
  • Loading branch information
mlschroe committed Jan 19, 2021
2 parents 0487cdd + 9491a4d commit d9f0080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSSched/EventSource/Directory.pm
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ sub sendevent {
my $eventdir = $gctx->{'eventdir'};
mkdir_p("$eventdir/$arch");
$evname = "$ev->{'type'}:::".Digest::MD5::md5_hex($evname) if length($evname) > 200;
if ($ev->{'type'} eq 'published') {
if ($ev->{'type'} eq 'publish') {
my $oldev = readxml("$eventdir/$arch/$evname", $BSXML::event, 1) || {};
$ev->{'time'} = $oldev->{'time'} || time();
}
Expand Down

0 comments on commit d9f0080

Please sign in to comment.