Update TestSeal to ignore setting the config to nil
This commit is contained in:
parent
44dfdc0303
commit
259e686d4c
|
@ -83,6 +83,10 @@ func (d *TestSeal) RecoveryConfig() (*SealConfig, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *TestSeal) SetRecoveryConfig(config *SealConfig) error {
|
func (d *TestSeal) SetRecoveryConfig(config *SealConfig) error {
|
||||||
|
if config == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
d.recoveryConfig = config
|
d.recoveryConfig = config
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue