mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix the case of 'Ungrouped' (#14351)
This commit is contained in:
@@ -78,7 +78,7 @@ class Smokeping
|
|||||||
public function generateFileName($file = '')
|
public function generateFileName($file = '')
|
||||||
{
|
{
|
||||||
if (Config::get('smokeping.integration') === true) {
|
if (Config::get('smokeping.integration') === true) {
|
||||||
return Config::get('smokeping.dir') . '/' . ($this->device->type ?: 'ungrouped') . '/' . $file;
|
return Config::get('smokeping.dir') . '/' . ($this->device->type ?: 'Ungrouped') . '/' . $file;
|
||||||
} else {
|
} else {
|
||||||
return Config::get('smokeping.dir') . '/' . $file;
|
return Config::get('smokeping.dir') . '/' . $file;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user