<s> from lib . actions import BaseAction <EOL> __all__ = [ <EOL> '<STR_LIT>' <EOL> ] <EOL> class StartContainerAction ( BaseAction ) : <EOL> api_type = '<STR_LIT>' <EOL> def run ( self , credentials , container_id ) : <EOL> driver = self . _get_driver_for_credentials ( credentials = credentials ) <EOL> container = driver . get_container ( container_id ) <EOL> self . logger . info ( '<STR_LIT>' % ( container ) ) <EOL> status = container . start ( ) <EOL> if status is True : <EOL> self . logger . info ( '<STR_LIT>' % ( container ) ) <EOL> else : <EOL> self . logger . error ( '<STR_LIT>' % ( container ) ) <EOL> return status </s>
