diff --git a/isolator/isolator/docker_volume_driver_isolator.cpp b/isolator/isolator/docker_volume_driver_isolator.cpp index f16fc2a..2ebc501 100644 --- a/isolator/isolator/docker_volume_driver_isolator.cpp +++ b/isolator/isolator/docker_volume_driver_isolator.cpp @@ -177,6 +177,10 @@ Future DockerVolumeDriverIsolator::recover( LOG(INFO) << "dvdicheckpoint::recover() called"; Result resultState = mesos::internal::slave::state::recover(mesosWorkingDir, true); + if (resultState.isNone()) { + LOG(INFO) << "dvdicheckpoint::recover(): recover state is NONE"; + return Nothing(); + } State state = resultState.get(); LOG(INFO) << "dvdicheckpoint::recover() returned: " << state.errors;