func Unregister(serviceRuntime *runtime.ServiceRuntime, configStore *config.Store, env, pool, hostIP, shuttleAddr string) { unregisterShuttle(configStore, env, hostIP, shuttleAddr) serviceRuntime.UnRegisterAll(env, pool, hostIP) os.Exit(0) }