Invert boolean

This commit is contained in:
cmbrose 2022-06-10 11:14:19 -05:00
parent 2c5532116d
commit e16a8adb6f

View file

@ -43,7 +43,7 @@ type GenerateSSHKeyOptions struct {
func WithNoErrorOnExitingKey() func(*GenerateSSHKeyOptions) {
return func(o *GenerateSSHKeyOptions) {
o.noErrorOnExists = false
o.noErrorOnExists = true
}
}