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
Currently you can call the write function on the client without any parameters.
i.e.
c, err := client.NewClient(config)
if err != nil {
t.Fatalf("unexpected error. expected %v, actual %v", nil, err)
}
_, err = c.Write()
if err == nil {
t.Fatalf("unexpected error. expected %v, actual %v", nil, err)
}
will not error
I can' think of an instance where you would want to allow zero writes.
Can I suggest the function is changed to:
func (c _Client) Write(w Write, ws ...Write) (_Results, error)
The text was updated successfully, but these errors were encountered:
Currently you can call the write function on the client without any parameters.
i.e.
c, err := client.NewClient(config)
if err != nil {
t.Fatalf("unexpected error. expected %v, actual %v", nil, err)
}
will not error
I can' think of an instance where you would want to allow zero writes.
Can I suggest the function is changed to:
func (c _Client) Write(w Write, ws ...Write) (_Results, error)
The text was updated successfully, but these errors were encountered: