Skip to content

Fix issue with managing a `gitlab_user_runner` after its been imported

Patrick Rice requested to merge patrickrice/error-after-applying-6339 into main
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

Closes #6339 (closed)

This MR fixes an issue where a user would be unable to update a gitlab_user_runner after they imported that runner, because token would always be Unknown when updating. It fixes it by Modifying the plan when an Update operation is detected with a null or unknown token, and sets the Token to be known "Null" instead of unknown.

Edited by Patrick Rice

Merge request reports

Loading