mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix rrd show command (#16357)
buildCommand needs to be public access for show command, reverted to protected because I thought it was only for tests, and that doesn't require it to be public anymore.
This commit is contained in:
@ -450,7 +450,7 @@ class Rrd extends BaseDatastore
|
||||
*
|
||||
* @throws FileExistsException if rrdtool <1.4.3 and the rrd file exists locally
|
||||
*/
|
||||
protected function buildCommand($command, $filename, $options): string
|
||||
public function buildCommand($command, $filename, $options): string
|
||||
{
|
||||
if ($command == 'create') {
|
||||
// <1.4.3 doesn't support -O, so make sure the file doesn't exist
|
||||
|
Reference in New Issue
Block a user