modules/bk_shell_aws.js
function(next) {
           logger.log("DeregisterImage:", images);
           if (shell.isArg("-dry-run", options)) return next();
           lib.forEachSeries(images, function(img, next2) {
               aws.ec2DeregisterImage(img.imageId, { snapshots: 1 }, next2);
           }, next);
       }
function(next) {
           logger.log("DeregisterImage:", images);
           if (shell.isArg("-dry-run", options)) return next();
           lib.forEachSeries(images, function(img, next2) {
               aws.ec2DeregisterImage(img.imageId, { snapshots: 1 }, next2);
           }, next);
       }
function ( next ) { logger . log ( "DeregisterImage:" , images ) ; if ( shell . isArg ( "-dry-run" , options ) ) return next ( ) ; lib . forEachSeries ( images , function ( img , next2 ) { aws . ec2DeregisterImage ( img . imageId , { snapshots : 1 } , next2 ) ; } , next ) ; }
Deregister existing image with the same name in the destination region
Deregister existing image with the same name in the destination region