Merge branch 'master' of github.com:open-cloud/xos
diff --git a/xos/core/models/service.py b/xos/core/models/service.py
index b341e83..5196336 100644
--- a/xos/core/models/service.py
+++ b/xos/core/models/service.py
@@ -548,7 +548,7 @@
if self.slice.default_image:
return self.slice.default_image
- raise XOPSProgrammingError("Please set a default image for %s" % self.slice.name)
+ raise XOSProgrammingError("Please set a default image for %s" % self.slice.name)
def make_new_instance(self):
from core.models import Instance, Flavor
@@ -683,7 +683,7 @@
if slice.default_image:
return slice.default_image
- raise XOPSProgrammingError("Please set a default image for %s" % self.slice.name)
+ raise XOSProgrammingError("Please set a default image for %s" % self.slice.name)
def save_instance(self, instance):
# Override this function to do custom pre-save or post-save processing,