{"action":"closed","issue":{"url":"https://api.github.com/repos/Finanzchef24-GmbH/tunnel-ssh/issues/33","repository_url":"https://api.github.com/repos/Finanzchef24-GmbH/tunnel-ssh","labels_url":"https://api.github.com/repos/Finanzchef24-GmbH/tunnel-ssh/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Finanzchef24-GmbH/tunnel-ssh/issues/33/comments","events_url":"https://api.github.com/repos/Finanzchef24-GmbH/tunnel-ssh/issues/33/events","html_url":"https://github.com/Finanzchef24-GmbH/tunnel-ssh/issues/33","id":145234811,"number":33,"title":"Apparent tunnel() callback inconsistency","user":{"login":"damolina-ms","id":17151874,"avatar_url":"https://avatars.githubusercontent.com/u/17151874?v=3","gravatar_id":"","url":"https://api.github.com/users/damolina-ms","html_url":"https://github.com/damolina-ms","followers_url":"https://api.github.com/users/damolina-ms/followers","following_url":"https://api.github.com/users/damolina-ms/following{/other_user}","gists_url":"https://api.github.com/users/damolina-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/damolina-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damolina-ms/subscriptions","organizations_url":"https://api.github.com/users/damolina-ms/orgs","repos_url":"https://api.github.com/users/damolina-ms/repos","events_url":"https://api.github.com/users/damolina-ms/events{/privacy}","received_events_url":"https://api.github.com/users/damolina-ms/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-01T17:17:24Z","updated_at":"2016-06-25T15:23:51Z","closed_at":"2016-06-25T15:23:51Z","body":"Samples in documentation define callback as:\r\n\r\n`var server = tunnel({host: '172.16.0.8', dstPort: 3306}, function (error, result) {`\r\n\r\nbut tunnel() code calls the callback as  (result, error):\r\n\r\n```\r\n  try {\r\n    var config = createConfig(configArgs);\r\n  } catch ( e ) {\r\n    if (callback) {\r\n      callback(null, e);\r\n    } else {\r\n```\r\n"}}
{"actor":{"display_login":"agebrock"}}