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:
Tony Murray
2024-09-04 09:53:04 -05:00
committed by GitHub
parent f15f8fa63a
commit dc2f70592b

View File

@ -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