Remove metering ConfigMap dependency.
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com>
This commit is contained in:
@@ -290,8 +290,4 @@ func (conf *Config) stripEmptyOptions() {
|
||||
if conf.KubeEdgeOptions != nil && conf.KubeEdgeOptions.Endpoint == "" {
|
||||
conf.KubeEdgeOptions = nil
|
||||
}
|
||||
|
||||
if conf.MeteringOptions != nil && !conf.MeteringOptions.Enable {
|
||||
conf.MeteringOptions = nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user