We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea17eff commit bb69b61Copy full SHA for bb69b61
lib/OpenCloud/Compute/Resource/KeyPair.php
@@ -41,7 +41,7 @@ class KeyPair extends PersistentObject
41
42
public function setName($name)
43
{
44
- if (preg_match('#[^\w\d\s-_]#', $name) || strlen($name) > 255) {
+ if (preg_match('#[^\w\d\s\-_]#', $name) || strlen($name) > 255) {
45
throw new InvalidArgumentError(sprintf(
46
'The key name may not exceed 255 characters. It can contain the'
47
. ' following characters: alphanumeric, spaces, dashes and'
0 commit comments