Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/n/o/nova-HEAD/nova/compute/manager.py   nova(Download)
    def _instance_usage_audit(self, context):
        if not CONF.instance_usage_audit:
            return
 
        if compute_utils.has_audit_been_run(context,

src/n/o/nova-gce-HEAD/nova/compute/manager.py   nova-gce(Download)
    def _instance_usage_audit(self, context):
        if FLAGS.instance_usage_audit:
            if not compute_utils.has_audit_been_run(context, self.host):
                begin, end = utils.last_completed_audit_period()
                instances = self.db.instance_get_active_by_window_joined(