refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters (#2691)
* refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters * fix typo Co-authored-by: Noah Hsu <i@nn.ci>
This commit is contained in:
@ -33,6 +33,10 @@ func (s *Storage) GetStorage() *Storage {
|
||||
return s
|
||||
}
|
||||
|
||||
func (s *Storage) SetStorage(storage Storage) {
|
||||
*s = storage
|
||||
}
|
||||
|
||||
func (s *Storage) SetStatus(status string) {
|
||||
s.Status = status
|
||||
}
|
||||
|
Reference in New Issue
Block a user