Преглед изворни кода

Merge pull request #159 from CloudVE/label-instructions

Label exception message (Sentry bugs 293976-9)
Enis Afgan пре 7 година
родитељ
комит
6977707373
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      cloudbridge/cloud/base/resources.py

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

@@ -86,8 +86,8 @@ class BaseCloudResource(CloudResource):
             raise InvalidLabelException(
             raise InvalidLabelException(
                 u"Invalid label: %s. Label must be at least 3 characters long"
                 u"Invalid label: %s. Label must be at least 3 characters long"
                 " and at most 63 characters. It must consist of lowercase"
                 " 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
     @staticmethod
     def assert_valid_resource_name(name):
     def assert_valid_resource_name(name):