{"action":"closed","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/553","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/553/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/553/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/553/events","html_url":"https://github.com/serverless/serverless/issues/553","id":131003953,"number":553,"title":"Function creation error message is misleading when function name is too long","user":{"login":"juhamust","id":781002,"avatar_url":"https://avatars.githubusercontent.com/u/781002?v=3","gravatar_id":"","url":"https://api.github.com/users/juhamust","html_url":"https://github.com/juhamust","followers_url":"https://api.github.com/users/juhamust/followers","following_url":"https://api.github.com/users/juhamust/following{/other_user}","gists_url":"https://api.github.com/users/juhamust/gists{/gist_id}","starred_url":"https://api.github.com/users/juhamust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhamust/subscriptions","organizations_url":"https://api.github.com/users/juhamust/orgs","repos_url":"https://api.github.com/users/juhamust/repos","events_url":"https://api.github.com/users/juhamust/events{/privacy}","received_events_url":"https://api.github.com/users/juhamust/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serverless/serverless/labels/enhancement","name":"enhancement","color":"009800"},{"url":"https://api.github.com/repos/serverless/serverless/labels/help%20wanted","name":"help wanted","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/serverless/serverless/milestones/2","html_url":"https://github.com/serverless/serverless/milestones/v0.5","labels_url":"https://api.github.com/repos/serverless/serverless/milestones/2/labels","id":1576551,"number":2,"title":"v0.5","description":null,"creator":{"login":"ac360","id":2752551,"avatar_url":"https://avatars.githubusercontent.com/u/2752551?v=3","gravatar_id":"","url":"https://api.github.com/users/ac360","html_url":"https://github.com/ac360","followers_url":"https://api.github.com/users/ac360/followers","following_url":"https://api.github.com/users/ac360/following{/other_user}","gists_url":"https://api.github.com/users/ac360/gists{/gist_id}","starred_url":"https://api.github.com/users/ac360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ac360/subscriptions","organizations_url":"https://api.github.com/users/ac360/orgs","repos_url":"https://api.github.com/users/ac360/repos","events_url":"https://api.github.com/users/ac360/events{/privacy}","received_events_url":"https://api.github.com/users/ac360/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":8,"state":"open","created_at":"2016-02-10T21:37:35Z","updated_at":"2016-02-12T06:52:52Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-03T12:00:38Z","updated_at":"2016-02-12T06:52:52Z","closed_at":"2016-02-12T06:52:52Z","body":"Functions can no longer(?) have names with multiple hyphens in them:\r\n```\r\nServerless: Enter a new function name:  test-foo-bar\r\nerror:   Invalid input for Enter a new function name: \r\nerror:   Function name must contain only letters, numbers, hyphens, or underscores.\r\n\r\nServerless: Enter a new function name:  test-foo\r\nServerless: Successfully created function: \"test-foo\"\r\n```\r\n\r\nTested with serverless 0.3.1"}}