ruby: config bugfix
This commit is contained in:
parent
1c3efb48ad
commit
db40cb8f51
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class CacheController < NetPort
|
|||
cache.controller = self
|
||||
}
|
||||
|
||||
if !@@total_cache_controllers.has_key?(mach_type)
|
||||
if !@@total_cache_controllers.key?(mach_type)
|
||||
@@total_cache_controllers[mach_type] = 0
|
||||
end
|
||||
@version = @@total_cache_controllers[mach_type]
|
||||
|
|
Loading…
Reference in a new issue