forked from TrueCloudLab/frostfs-node
[#66] node: Replace interface{} with any
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
3d873237d5
commit
cb5468abb8
67 changed files with 135 additions and 135 deletions
|
@ -52,7 +52,7 @@ type Notificator struct {
|
|||
// Panics if any field of the passed Prm structure is not set/set
|
||||
// to nil.
|
||||
func New(prm *Prm) *Notificator {
|
||||
panicOnNil := func(v interface{}, name string) {
|
||||
panicOnNil := func(v any, name string) {
|
||||
if v == nil {
|
||||
panic(fmt.Sprintf("Notificator constructor: %s is nil\n", name))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue