mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-07 05:19:15 +00:00
⚡ Change consts
type to map[string]interface{}
This commit is contained in:
parent
e62ebea8d8
commit
776f9ce9af
@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type ScriptingConfig struct {
|
type ScriptingConfig struct {
|
||||||
Consts map[string]string `yaml:"consts"`
|
Consts map[string]interface{} `yaml:"consts"`
|
||||||
Source string `yaml:"source" default:""`
|
Source string `yaml:"source" default:""`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ func (connector *Connector) PostLicense(license string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (connector *Connector) PostConsts(consts map[string]string) {
|
func (connector *Connector) PostConsts(consts map[string]interface{}) {
|
||||||
if len(consts) == 0 {
|
if len(consts) == 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user