Răsfoiți Sursa

Label exception message

almahmoud 7 ani în urmă
părinte
comite
4535f66787
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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):