fix unconvert issues

This commit is contained in:
Mario Trangoni
2018-04-16 20:04:58 +02:00
parent 7d165068df
commit ce941a004d
11 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func (pb *PluginBase) registerPlugin(pluginDir string) error {
for _, include := range pb.Includes {
if include.Role == "" {
include.Role = m.RoleType(m.ROLE_VIEWER)
include.Role = m.ROLE_VIEWER
}
}
+1 -1
View File
@@ -13,7 +13,7 @@ import (
)
var (
httpClient http.Client = http.Client{Timeout: time.Duration(10 * time.Second)}
httpClient http.Client = http.Client{Timeout: 10 * time.Second}
)
type GrafanaNetPlugin struct {