Change NodelistImport display when using job:list
This commit is contained in:
parent
58fe142f7c
commit
95969a857b
@ -62,7 +62,9 @@ class NodelistImport implements ShouldQueue
|
|||||||
{
|
{
|
||||||
switch ($key) {
|
switch ($key) {
|
||||||
case 'jobname':
|
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:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user