Report plugin version status via the Config object
This commit is contained in:
1 parent
4f485f856b
commit
933b395de4
2 files changed
+6
-7
No files matched your search
+4
-2
@@ -212,8 +212,10 @@ var statusTemplate = defTemplate("status", `\
|
||||
{{end}}\
|
||||
{{if .Plugin}}\
|
||||
|
||||
Service: plugin (v{{.Plugin.Version}})
|
||||
{{if eq .Plugin.Version 1}}\
|
||||
{{if .Plugin.Config.EnableV2}}\
|
||||
Service: plugin (v2)
|
||||
{{else}}\
|
||||
Service: plugin (legacy)
|
||||
DriverName: {{.Plugin.DriverName}}
|
||||
{{end}}\
|
||||
{{end}}\
|
||||
|
||||
Reference in new issue
Block a user