Browse Source

Remove superfluous service code

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 9 years ago
parent
commit
c32991a8d4
1 changed files with 0 additions and 9 deletions
  1. 0 9
      compose/service.py

+ 0 - 9
compose/service.py

@@ -510,13 +510,6 @@ class Service(object):
 
         return volumes_from
 
-    def get_logging_options(self):
-        logging_dict = self.options.get('logging', {})
-        return {
-            'log_driver': logging_dict.get('driver', ""),
-            'log_opt': logging_dict.get('options', None)
-        }
-
     def _get_container_create_options(
             self,
             override_options,
@@ -530,8 +523,6 @@ class Service(object):
             for k in DOCKER_CONFIG_KEYS if k in self.options)
         container_options.update(override_options)
 
-        container_options.update(self.get_logging_options())
-
         if self.custom_container_name() and not one_off:
             container_options['name'] = self.custom_container_name()
         elif not container_options.get('name'):