mesos/mesos-go

next: can not resubscribe

athlum opened this issue · 0 comments

Hi jdef,
https://github.com/mesos/mesos-go/blob/next/httpcli/httpsched/state.go#L123
I find there is no way to change connectedFn to disconnectedFn. So the framework couldn't call subscribe (with the frameworkId) again when connection broken.
And stateFn switches on every call only. I want to know how would you deal with stateFn change.
Thanks.