# File lib/openshift-origin-controller/app/models/group_instance.rb, line 85 def fix_gear_uuid(app, gear) #FIXME: backward compat: first gears UUID = app.uuid if app.scalable # Override/set gear's uuid with app's uuid if its a scalable app w/ the # proxy component. if self.component_instances.include? "@@app/comp-proxy/cart-haproxy-1.4" gear.uuid = app.uuid gear.name = app.name end else # For non scalable app's, gear's uuid is the app uuid. gear.uuid = app.uuid gear.name = app.name end end