#506 was a red herring

This commit is contained in:
Oliver Gorwits
2019-03-03 14:13:20 +00:00
parent b83e614c85
commit ac381e0802
2 changed files with 6 additions and 6 deletions

View File

@@ -74,9 +74,9 @@ register 'register_worker' => sub {
push @newuserconf, dclone $stanza;
}
# # per-device action but no device creds available
# return $job->add_status( Status->info('skip: driver or action not applicable') )
# if 0 == scalar @newuserconf;
# per-device action but no device creds available
return $job->add_status( Status->info('skip: driver or action not applicable') )
if 0 == scalar @newuserconf;
}
# back up and restore device_auth

View File

@@ -49,9 +49,9 @@ sub run {
push @newuserconf, dclone $stanza;
}
# # per-device action but no device creds available
# return $job->add_status( Status->defer('deferred job with no device creds') )
# if 0 == scalar @newuserconf;
# per-device action but no device creds available
return $job->add_status( Status->defer('deferred job with no device creds') )
if 0 == scalar @newuserconf;
}
# back up and restore device_auth