# File lib/openshift-origin-controller/app/models/district.rb, line 51 def delete() if server_identities.empty? OpenShift::DataStore.instance.delete_district(@uuid) else raise OpenShift::OOException.new("Couldn't destroy district '#{uuid}' because it still contains nodes") end end