diff --git a/server.go b/server.go index 466f1a9..d925d9d 100644 --- a/server.go +++ b/server.go @@ -299,7 +299,7 @@ type ServerTemplateOpts struct { TargetNode string } -func (o ServerTemplateOpts) Validate(ctx context.Context, c *Client) error { +func (o *ServerTemplateOpts) Validate(ctx context.Context, c *Client) error { if o.Name == "" { return errors.New("missing name") }