Skip to content

Commit 7bdedff

Browse files
bergquisttorkelo
authored andcommitted
feat(plugins): make sure windows data plugin path is absolute (grafana#6264)
1 parent 44f0643 commit 7bdedff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/setting/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ func NewConfigContext(args *CommandLineArgs) error {
461461

462462
Env = Cfg.Section("").Key("app_mode").MustString("development")
463463
InstanceName = Cfg.Section("").Key("instance_name").MustString("unknown_instance_name")
464-
PluginsPath = Cfg.Section("paths").Key("plugins").String()
464+
PluginsPath = makeAbsolute(Cfg.Section("paths").Key("plugins").String(), HomePath)
465465

466466
server := Cfg.Section("server")
467467
AppUrl, AppSubUrl = parseAppUrlAndSubUrl(server)

0 commit comments

Comments
 (0)