{"action":"closed","issue":{"url":"https://api.github.com/repos/vishvananda/netlink/issues/75","labels_url":"https://api.github.com/repos/vishvananda/netlink/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/vishvananda/netlink/issues/75/comments","events_url":"https://api.github.com/repos/vishvananda/netlink/issues/75/events","html_url":"https://github.com/vishvananda/netlink/issues/75","id":120992625,"number":75,"title":"LinkSetMaster does not fail if bridge does not exist","user":{"login":"gucki","id":175494,"avatar_url":"https://avatars.githubusercontent.com/u/175494?v=3","gravatar_id":"","url":"https://api.github.com/users/gucki","html_url":"https://github.com/gucki","followers_url":"https://api.github.com/users/gucki/followers","following_url":"https://api.github.com/users/gucki/following{/other_user}","gists_url":"https://api.github.com/users/gucki/gists{/gist_id}","starred_url":"https://api.github.com/users/gucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gucki/subscriptions","organizations_url":"https://api.github.com/users/gucki/orgs","repos_url":"https://api.github.com/users/gucki/repos","events_url":"https://api.github.com/users/gucki/events{/privacy}","received_events_url":"https://api.github.com/users/gucki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T11:59:52Z","updated_at":"2015-12-10T03:39:37Z","closed_at":"2015-12-10T03:39:37Z","body":"I'm calling `LinkSetMaster` with a bridge that does not exist on the system like this `err = netlink.LinkSetMaster(link, &netlink.Bridge{LinkAttrs: netlink.LinkAttrs{Name: bridgeName}})`. The call returns success (nil), but it should return an error .\r\n\r\nUsing ip on the command line returns an error as expected:\r\n\r\n    ip link set haa master aa\r\n    Error: argument \"aa\" is wrong: Device does not exist\r\n"}}