mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [mesos] lava commented on a change in pull request #326: MESOS-6874: Validate the match between Type and *Infos in the ContainerInfo.
Date Tue, 12 Mar 2019 11:12:04 GMT
lava commented on a change in pull request #326: MESOS-6874: Validate the match between Type
and *Infos in the ContainerInfo.
URL: https://github.com/apache/mesos/pull/326#discussion_r264621825
 
 

 ##########
 File path: src/slave/containerizer/composing.cpp
 ##########
 @@ -435,6 +457,14 @@ Future<Containerizer::LaunchResult> ComposingContainerizerProcess::launch(
     return Containerizer::LaunchResult::ALREADY_LAUNCHED;
   }
 
+  if (containerConfig.has_container_info()) {
+    Try<Nothing> validation =
+      validateContainerInfoType(containerConfig.container_info());
 
 Review comment:
   We should put a blank line after multi-line statements.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message