client/secret_inspect.go
Method Client.SecretInspectWithRaw
has 5 return statements (exceeds 4 allowed). Open
Open
func (cli *Client) SecretInspectWithRaw(ctx context.Context, id string) (swarm.Secret, []byte, error) {
if err := cli.NewVersionError(ctx, "1.25", "secret inspect"); err != nil {
return swarm.Secret{}, nil, err
}
if id == "" {