Revision 541741d3

b/lib/backend.py
191 191

  
192 192
  """
193 193
  # GetMasterInfo will raise an exception if not able to return data
194
  master_netdev, master_ip, _ = GetMasterInfo()[1]
194
  master_netdev, master_ip, _ = GetMasterInfo()
195 195

  
196 196
  payload = []
197 197
  if utils.TcpPing(master_ip, constants.DEFAULT_NODED_PORT):
......
245 245
  # need to decide in which case we fail the RPC for this
246 246

  
247 247
  # GetMasterInfo will raise an exception if not able to return data
248
  master_netdev, master_ip, _ = GetMasterInfo()[1]
248
  master_netdev, master_ip, _ = GetMasterInfo()
249 249

  
250 250
  result = utils.RunCmd(["ip", "address", "del", "%s/32" % master_ip,
251 251
                         "dev", master_netdev])

Also available in: Unified diff