~ubuntu-branches/ubuntu/raring/cinder/raring-updates

« back to all changes in this revision

Viewing changes to cinder/api/contrib/types_extra_specs.py

Tags: upstream-2013.1~g2
ImportĀ upstreamĀ versionĀ 2013.1~g2

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
    def get_resources(self):
141
141
        resources = []
142
142
        res = extensions.ResourceExtension('extra_specs',
143
 
                            VolumeTypeExtraSpecsController(),
144
 
                            parent=dict(
145
 
                                member_name='type',
146
 
                                collection_name='types'))
 
143
                                           VolumeTypeExtraSpecsController(),
 
144
                                           parent=dict(member_name='type',
 
145
                                                       collection_name='types')
 
146
                                           )
147
147
        resources.append(res)
148
148
 
149
149
        return resources