Browse Source

This branch adds the instance 'display name' (nickname) to attach the attache volume to instance form.

Jake Dahn 8 years ago
parent
commit
03dce1929d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      django-nova/src/django_nova/forms.py

+ 1
- 1
django-nova/src/django_nova/forms.py View File

@@ -48,7 +48,7 @@ def get_instance_type_choices():
48 48
     return rv
49 49
 
50 50
 def get_instance_choices(project):
51
-    choices = [(i.id, "%s (%s)" % (i.id, i.displayName)
51
+    choices = [(i.id, "%s (%s)" % (i.id, i.displayName))
52 52
                for i in project.get_instances()]
53 53
     if not len(choices):
54 54
         choices = [('', 'none available')]

Loading…
Cancel
Save