Remove a log message about setting linkstate for an unknown interface.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 5 Aug 2011 00:03:34 +0000 (10:03 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 5 Aug 2011 00:03:34 +0000 (10:03 +1000)
sometimes we do want to try to set the linkstate for interfaces that are not in use by public addresses right now (but posisbly by other mechanisms) and these messages just spam the logs

S1026357

server/ctdb_takeover.c

index 5512acc379b07086813bab77e2262a8c09f0a1e2..626b10e54540b74f7423e661ec5d3e164f35524d 100644 (file)
@@ -2633,8 +2633,6 @@ int32_t ctdb_control_set_iface_link(struct ctdb_context *ctdb,
 
        iface = ctdb_find_iface(ctdb, info->name);
        if (iface == NULL) {
-               DEBUG(DEBUG_ERR, (__location__ "iface[%s] is unknown\n",
-                                 info->name));
                return -1;
        }