imzhenyu/rDSN

compile error

egmkang opened this issue · 2 comments

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;

Thanks @egmkang. This is indeed a problem, not sure why our current compilation all succeeds:) We will fix it in our next change.

fixed now.