Skip to content

Reaper: undefined method `delete_suffix' for nil:NilClass #585

@yaoyi

Description

@yaoyi

in ruby reaper:

def match?(key_one, key_two)
   key_one.delete_suffix(RUN_SUFFIX) == key_two.delete_suffix(RUN_SUFFIX)
end

the key_two payload[LOCK_DIGEST] could be nil, which causes the undefined method delete_suffix for nil:NilClass

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions