Several commands in libbeat/cmd do not respect instance.Settings, but only use dedicated attributes from it. This can lead to bugs for e.g. running export template etc.
The bug was originally found in elastic/apm-server#1922.
Ensure that the settings are passed on to all cmds and remove deprecated Init() .
Several commands in
libbeat/cmddo not respectinstance.Settings, but only use dedicated attributes from it. This can lead to bugs for e.g. runningexport templateetc.The bug was originally found in elastic/apm-server#1922.
Ensure that the
settingsare passed on to all cmds and remove deprecatedInit().