ezmobius / nanite

self assembling fabric of ruby daemons
Apache License 2.0
735 stars 64 forks source link

When removing an agent from the redis store,redis throws an 'invalid function' #23

Open ejgagnon opened 14 years ago

ejgagnon commented 14 years ago

In nanite/state.rb, line 88 has an 'sdelete', which is thrown as an invalid function call when passed into redis. Replacing the sdelete with 'srem' eliminates this problem. It looks like an oversight made when moving from the earlier version of redis, am I missing something? Or is this a safe fix?

roidrage commented 14 years ago

Doh! That last remaining incompatible statement was removed in a branch. I shall apply the fix immediately.