Skip to content

Detect already enabled DeployKeys in EnableDeployKeyService

What does this MR do?

Detect already enabled DeployKeys in EnableDeployKeyService. Because the fix is in the service the v3,v4 APIs and the controller all benefit. The UI doesn't allow this to happen so the bug was reported from users of the API.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

It's possible to attempt to add the same deploy key again via the API.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #29673 (closed)

Merge request reports

Loading