Skip to content

Commit

Permalink
client.go: fix golint
Browse files Browse the repository at this point in the history
    Line 66: warning: comment on exported method Client.InvokeWithSandbox should be of the form "InvokeWithSandbox ..." (golint)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Mar 16, 2021
1 parent b6555da commit 7b505d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (c *Client) Invoke(ctx context.Context, task containerd.Task, state types.S
return c.InvokeWithSandbox(ctx, task, state, nil)
}

// Invoke the ConfList of nri plugins
// InvokeWithSandbox invokes the ConfList of nri plugins
func (c *Client) InvokeWithSandbox(ctx context.Context, task containerd.Task, state types.State, sandbox *Sandbox) ([]*types.Result, error) {
if len(c.conf.Plugins) == 0 {
return nil, nil
Expand Down

0 comments on commit 7b505d7

Please sign in to comment.