Skip to content

redis-audit.rb:150:in group_key': undefined method codepoints'  #56

@cjhlai

Description

@cjhlai

@ snmaynard
When I go to run
bundle exec ruby redis-audit.rb -h 192.168.0.7 -p 8000 -d 0 -s 10000000
I get the following error:
Auditing 192.168.0.7:8000 dbnum:0 sampling 10000000 keys
Getting a list of all 132685 keys...
Auditing 132685 keys...
redis-audit.rb:150:in group_key': undefined method codepoints' for "oo.service.common.cache.prefix.vemployee.count.org.all.v.":String (NoMethodError)
from redis-audit.rb:130:in audit_key' from redis-audit.rb:111:in audit_keys'
from redis-audit.rb:26:in each_with_index' from redis-audit.rb:110:in each'
from redis-audit.rb:110:in each_with_index' from redis-audit.rb:110:in audit_keys'
from redis-audit.rb:358

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