Closed oojimmy closed 1 year ago
Describe the bug undeploy module unsuccessful, it does not change module_instance state to ModuleInstanceState_INIT, so api-server can not find module_instance record to send undeploy message to the agent.
module_instance
ModuleInstanceState_INIT
the state is 1, not changed to ModuleInstanceState_INIT https://github.com/tricorder-observability/Starship/blob/main/src/api-server/http/module_manager.go#L421
Describe the bug undeploy module unsuccessful, it does not change
module_instance
state toModuleInstanceState_INIT
, so api-server can not findmodule_instance
record to send undeploy message to the agent.the state is 1, not changed to
ModuleInstanceState_INIT
https://github.com/tricorder-observability/Starship/blob/main/src/api-server/http/module_manager.go#L421