Skip to content

PacketType of CantDo class is wrong #7

Description

@hados99

When create CantDo class instance with string parameter,
PacketType is setted to CAN_DO not CANT_DO.

https://github.com/johnewart/gearman-java/blob/master/gearman-common/src/main/java/net/johnewart/gearman/common/packets/request/CantDo.java

public CantDo(String function)
{
this.type = PacketType.CAN_DO;
this.functionName = new AtomicReference<>(function);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions