Welcome to mirror list, hosted at ThFree Co, Russian Federation.

x509_certificate_revoke_service.rb « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fdd0dd74a59715bef64c1f6772b6e81e93a9bede (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class X509CertificateRevokeService
  def execute(certificate)
    return unless certificate.revoked?

    certificate.x509_commit_signatures.update_all(verification_status: :unverified)
  end
end