Skip to content

Commit

Permalink
Do not accept empty sensitive strings
Browse files Browse the repository at this point in the history
Co-authored-by: Romain Tartière <[email protected]>
  • Loading branch information
arusso and smortex authored Mar 16, 2023
1 parent d77ca1b commit 2b73375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/functions/gitlab_ci_runner/register_to_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
dispatch :register_to_file do
# We use only core data types because others aren't synced to the agent.
param 'String[1]', :url
param 'Variant[String[1], Sensitive[String]]', :regtoken
param 'Variant[String[1], Sensitive[String[1]]]', :regtoken
param 'String[1]', :runner_name
optional_param 'Hash', :additional_options
optional_param 'Optional[String[1]]', :proxy
Expand Down

0 comments on commit 2b73375

Please sign in to comment.