Change NodelistImport display when using job:list
This commit is contained in:
parent
aabc8b5a65
commit
24144de193
@ -62,7 +62,9 @@ class NodelistImport implements ShouldQueue
|
||||
{
|
||||
switch ($key) {
|
||||
case 'jobname':
|
||||
return sprintf('%s-%s',$this->domain?->name,is_object($this->file) ? $this->file->name : $this->file);
|
||||
return ($this->domain)
|
||||
? sprintf('%s-%s',$this->domain?->name,(is_object($this->file) ? $this->file->name : $this->file))
|
||||
: (is_object($this->file) ? $this->file->name : $this->file);
|
||||
|
||||
default:
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user