lib/ishiki.js
function findSwitchAndClear(uid) {
    if (uid) {
      droneModel.getProcessed({uid: uid}, function(err, result) {
        if (!err && result && result.length == 1) {
          switchAndClear(result[0]);
        }
      });
    }
  }
function findSwitchAndClear(uid) {
    if (uid) {
      droneModel.getProcessed({uid: uid}, function(err, result) {
        if (!err && result && result.length == 1) {
          switchAndClear(result[0]);
        }
      });
    }
  }
function findSwitchAndClear ( uid ) { if ( uid ) { droneModel . getProcessed ( { uid : uid } , function ( err , result ) { if ( ! err && result && result . length == 1 ) { switchAndClear ( result [ 0 ] ) ; } } ) ; } }
find drone by uid, update drone state and clear proxy routes
find drone by uid update drone state and clear proxy routes