More consistent naming

This commit is contained in:
Fabio Manganiello 2018-10-06 23:30:11 +02:00
parent 0b053bb46d
commit 8497cd3863
1 changed files with 8 additions and 2 deletions

View File

@ -148,12 +148,18 @@ class VariablePlugin(Plugin):
@action
def expire(self, key, expiration):
def expire(self, name, expire):
"""
Set a variable expiration on Redis
:param name: Variable name
:type name: str
:param expire: Expiration time in seconds
:type expire: int
"""
return self.redis_plugin.expire(key, expiration)
return self.redis_plugin.expire(name, expire)
# vim:sw=4:ts=4:et: