Commit dd32fd36 authored by Shinya Maeda's avatar Shinya Maeda Committed by Kamil Trzciński

Fix the evaluation logic of provider availability

parent 0f1e8475
......@@ -71,7 +71,7 @@ func validateExecutorProvider(provider ExecutorProvider) error {
return errors.New("default shell not implemented")
if provider.CanCreate() {
if !provider.CanCreate() {
return errors.New("cannot create executor")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment