compile error
egmkang opened this issue · 2 comments
egmkang commented
src/dist/cluster_scheduler/scheduler_providers/docker_scheduler.cpp +123
- constexpr const char * substr = "docker start/running";
- constexpr size_t length = strlen(substr);
+ constexpr const char substr[] = "docker start/running";
+ constexpr size_t length = sizeof(substr) - 1;
imzhenyu commented
Thanks @egmkang. This is indeed a problem, not sure why our current compilation all succeeds:) We will fix it in our next change.
imzhenyu commented
fixed now.