{"action":"created","issue":{"url":"https://api.github.com/repos/mirakui/ec2ssh/issues/22","labels_url":"https://api.github.com/repos/mirakui/ec2ssh/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/mirakui/ec2ssh/issues/22/comments","events_url":"https://api.github.com/repos/mirakui/ec2ssh/issues/22/events","html_url":"https://github.com/mirakui/ec2ssh/pull/22","id":53591721,"number":22,"title":"Ignore unnamed instances","user":{"login":"r7kamura","id":111689,"avatar_url":"https://avatars.githubusercontent.com/u/111689?v=3","gravatar_id":"","url":"https://api.github.com/users/r7kamura","html_url":"https://github.com/r7kamura","followers_url":"https://api.github.com/users/r7kamura/followers","following_url":"https://api.github.com/users/r7kamura/following{/other_user}","gists_url":"https://api.github.com/users/r7kamura/gists{/gist_id}","starred_url":"https://api.github.com/users/r7kamura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r7kamura/subscriptions","organizations_url":"https://api.github.com/users/r7kamura/orgs","repos_url":"https://api.github.com/users/r7kamura/repos","events_url":"https://api.github.com/users/r7kamura/events{/privacy}","received_events_url":"https://api.github.com/users/r7kamura/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T02:55:32Z","updated_at":"2015-01-07T03:42:04Z","closed_at":"2015-01-07T02:59:44Z","pull_request":{"url":"https://api.github.com/repos/mirakui/ec2ssh/pulls/22","html_url":"https://github.com/mirakui/ec2ssh/pull/22","diff_url":"https://github.com/mirakui/ec2ssh/pull/22.diff","patch_url":"https://github.com/mirakui/ec2ssh/pull/22.patch"},"body":"To fix the following error I encountered after migration to ec2ssh version 3.0.0.\r\n\r\n```\r\n$ ec2ssh update\r\n/Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/ec2_instances.rb:37:in `sort_by': comparison of NilClass with String failed (ArgumentError)\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/ec2_instances.rb:37:in `block in instances'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/ec2_instances.rb:30:in `map'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/ec2_instances.rb:30:in `instances'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/builder.rb:16:in `block in build_host_lines'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/builder.rb:14:in `each'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/builder.rb:14:in `build_host_lines'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/command/update.rb:20:in `run'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/lib/ec2ssh/cli.rb:28:in `update'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ec2ssh-3.0.0/bin/ec2ssh:4:in `<top (required)>'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/bin/ec2ssh:23:in `load'\r\n        from /Users/r7kamura/.rbenv/versions/2.2.0/bin/ec2ssh:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/mirakui/ec2ssh/issues/comments/68975118","html_url":"https://github.com/mirakui/ec2ssh/pull/22#issuecomment-68975118","issue_url":"https://api.github.com/repos/mirakui/ec2ssh/issues/22","id":68975118,"user":{"login":"mirakui","id":20384,"avatar_url":"https://avatars.githubusercontent.com/u/20384?v=3","gravatar_id":"","url":"https://api.github.com/users/mirakui","html_url":"https://github.com/mirakui","followers_url":"https://api.github.com/users/mirakui/followers","following_url":"https://api.github.com/users/mirakui/following{/other_user}","gists_url":"https://api.github.com/users/mirakui/gists{/gist_id}","starred_url":"https://api.github.com/users/mirakui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirakui/subscriptions","organizations_url":"https://api.github.com/users/mirakui/orgs","repos_url":"https://api.github.com/users/mirakui/repos","events_url":"https://api.github.com/users/mirakui/events{/privacy}","received_events_url":"https://api.github.com/users/mirakui/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T03:42:04Z","updated_at":"2015-01-07T03:42:04Z","body":"@r7kamura could you check #24 ?"}}