From 5ee63927e313486dd2d34e0d3a636d8104a9ae41 Mon Sep 17 00:00:00 2001 From: Carsten Date: Mon, 1 May 2017 22:53:03 +0200 Subject: [PATCH] Update Grapher.php Fix typo from #43 --- library/Grafana/ProvidedHook/Grapher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Grafana/ProvidedHook/Grapher.php b/library/Grafana/ProvidedHook/Grapher.php index 1d4d799..68de906 100644 --- a/library/Grafana/ProvidedHook/Grapher.php +++ b/library/Grafana/ProvidedHook/Grapher.php @@ -189,7 +189,7 @@ private function getMyPreviewHtml($serviceName, $hostName, &$previewHtml) CURLOPT_CONNECTTIMEOUT => 2, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, //TODO: config option - CURLOPT_TIMEOUT => $this-timeout, + CURLOPT_TIMEOUT => $this->timeout, CURLOPT_USERPWD => "$this->auth", CURLOPT_HTTPAUTH, CURLAUTH_ANY );