infra/google/kubernetes/index.js
function deleteNetwork() {
			setTimeout(function () {
				//cluster failed, delete network if it was not provided by the user
				let networksOptions = Object.assign({}, options);
				networksOptions.params = {name: oneDeployment.options.network};
				networks.delete(networksOptions, (error) => {
					if (error) {
						options.soajs.log.error(error);
					} else {
						options.soajs.log.debug("VPC Network Deleted Successfully.");
					}
				});
			}, (process.env.SOAJS_CLOOSTRO_TEST) ? 1 : 5 * 60 * 1000);
		}
function deleteNetwork() {
			setTimeout(function () {
				//cluster failed, delete network if it was not provided by the user
				let networksOptions = Object.assign({}, options);
				networksOptions.params = {name: oneDeployment.options.network};
				networks.delete(networksOptions, (error) => {
					if (error) {
						options.soajs.log.error(error);
					} else {
						options.soajs.log.debug("VPC Network Deleted Successfully.");
					}
				});
			}, (process.env.SOAJS_CLOOSTRO_TEST) ? 1 : 5 * 60 * 1000);
		}
function deleteNetwork ( ) { setTimeout ( function ( ) { //cluster failed, delete network if it was not provided by the user let networksOptions = Object . assign ( { } , options ) ; networksOptions . params = { name : oneDeployment . options . network } ; networks . delete ( networksOptions , ( error ) => { if ( error ) { options . soajs . log . error ( error ) ; } else { options . soajs . log . debug ( "VPC Network Deleted Successfully." ) ; } } ) ; } , ( process . env . SOAJS_CLOOSTRO_TEST ) ? 1 : 5 * 60 * 1000 ) ; }
delete vpc Network after a certain timeout
@returns {*}
delete vpc Network after a certain timeout