modules/mu/providers/google/user.rb in cloud-mu-3.2.0 vs modules/mu/providers/google/user.rb in cloud-mu-3.3.0
- old
+ new
@@ -252,10 +252,10 @@
# Remove all users associated with the currently loaded deployment.
# @param noop [Boolean]: If true, will only print what would be done
# @param ignoremaster [Boolean]: If true, will remove resources not flagged as originating from this Mu server
# @return [void]
- def self.cleanup(noop: false, ignoremaster: false, credentials: nil, flags: {})
+ def self.cleanup(noop: false, deploy_id: MU.deploy_id, ignoremaster: false, credentials: nil, flags: {})
MU::Cloud::Google.getDomains(credentials)
my_org = MU::Cloud::Google.getOrg(credentials)
filter = %Q{(labels.mu-id = "#{MU.deploy_id.downcase}")}
if !ignoremaster and MU.mu_public_ip