Closed arusso closed 3 months ago
Looks correct. Could you regenerate the REFERENCE.md (bundle exec rake strings:generate:reference
)? I think that's what the test failure is complaining about.
Hum, maybe your bundle is outdated?
bundle update
and then bundle exec rake strings:generate:reference
?
No change. It seems like it's complaining about the @return
missing from the unregister_from_file.rb
. Am I reading that right?
It's not a file I touched, but maybe we just need to add an @return Any
or modify the dispatch to be clear that a String is always returned?
Looks-like CI is happier 👍
Just a minor thing, and I think we are good to go!
Ended up rebuilding my ruby environment and that seemed to do the trick.
I took a stab at the spec test for this change and it passed when run locally. Not sure what to make of the automated tests, seems like they're broken (at least) due to Puppet 8.0.1 needing a newer version of Ruby than whats provided?
Anything I can/need do to get this merged, or is this still broken due to the Puppet 8 release?
I think the error was fixed. Let's close & re-open to trigger a build.
Just ran into this - patch works great thanks.
Approved but given the age here a rebase makes sense I would say.
Pull Request (PR) description
When retrieving a runner registration token from a lookup plugin such as
vault_lookup
the token will be marked as Sensitive. This change allows for an object ofSensitive[String]
type to be passed in forregtoken
and ensures it is properly unwrapped before use.