Skip to content

WrapProccess on ClusterClient does not work if client has been copied #773

@nziebart

Description

@nziebart

Test case:

client := redis.NewClusterClient(...)
client = client.WithContext(context.Background())
client.WrapProcess(...)

At this point the wrapper function will not be called. However, if we remove the WithContext call, it is called as expected.

The non-cluster client doesn't seem to have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions