Explorar o código

Merge pull request #159 from CloudVE/label-instructions

Label exception message (Sentry bugs 293976-9)
Enis Afgan %!s(int64=7) %!d(string=hai) anos
pai
achega
6977707373
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      cloudbridge/cloud/base/resources.py

+ 2 - 2
cloudbridge/cloud/base/resources.py

@@ -86,8 +86,8 @@ class BaseCloudResource(CloudResource):
             raise InvalidLabelException(
                 u"Invalid label: %s. Label must be at least 3 characters long"
                 " and at most 63 characters. It must consist of lowercase"
-                " letters, numbers, or dashes. The label must not start or"
-                " end with a dash." % name)
+                " letters, numbers, or dashes. The label must start with a "
+                "letter and not end with a dash." % name)
 
     @staticmethod
     def assert_valid_resource_name(name):