clean up; /agent/ping (#967)

This commit is contained in:
Michael Quigley
2025-05-30 13:17:43 -04:00
parent a7899b3a98
commit f4057655be
46 changed files with 1350 additions and 1480 deletions

View File

@ -65,7 +65,9 @@ func Run(inCfg *config.Config) error {
api.AdminListOrganizationsHandler = newListOrganizationsHandler()
api.AdminRemoveOrganizationMemberHandler = newRemoveOrganizationMemberHandler()
api.AdminUpdateFrontendHandler = newUpdateFrontendHandler()
api.AgentAgentStatusHandler = newAgentStatusHandler(cfg)
if cfg.AgentController != nil {
api.AgentPingHandler = newAgentPingHandler(cfg)
}
api.EnvironmentEnableHandler = newEnableHandler()
api.EnvironmentDisableHandler = newDisableHandler()
api.MetadataConfigurationHandler = newConfigurationHandler(cfg)