You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, instances of Sensitive with the same @value were not equal.
This patch overrides ==, eql? and hash to fix that.
a = Puppet::Pops::Types::PSensitiveType::Sensitive.new('secret')
b = Puppet::Pops::Types::PSensitiveType::Sensitive.new('secret')
a == b
# true
h = { a => 1 }
h[b] = 2
h
# {#<Sensitive [value redacted]>=>2}
0 commit comments