Open xiii opened 6 years ago
The issue is linked to sensu-plugin
=> mixlib-cli
.
New version was updated with .dup
to work around the issue: https://github.com/chef/mixlib-cli/blob/master/lib/mixlib/cli.rb#L314
Sensu seems to be pulling an older version.
cc @majormoses
@scalp42 that makes sense to me, can you open an issue on https://github.com/sensu-plugins/sensu-plugin so we can address it in our library and then we can work on pulling in the new version. If we want to do this without forcing a breaking change it will take a bit of effort to hotfix the latest 1.x version but I think in this case we just need to do it, its been long enough and we really need to get all the plugins using at least 2.x
of sensu-plugin
.
Hello,
I updated my gem to v2.1.0 and I get the following error
running
I figured that this might be due to the ruby 3.0 preparation work here, because If I remove that line the check is working.
https://github.com/sensu-plugins/sensu-plugins-consul/blob/923a29d9e9426fba7445fcc9798ea4d862d1b20d/bin/check-consul-kv-ttl.rb#L2
Any help is appreciated. Thanks