From e1f1331ab4a6cde62789e1ab146aeccd08b88202 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Fri, 8 Nov 2019 12:48:23 +0900 Subject: [PATCH] Remove Monkey.__ring_key__ which was required by old version of ring bug --- monkey/monkey_island/cc/models/monkey.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/monkey/monkey_island/cc/models/monkey.py b/monkey/monkey_island/cc/models/monkey.py index 8d0ed42ad..07b5ba3fe 100644 --- a/monkey/monkey_island/cc/models/monkey.py +++ b/monkey/monkey_island/cc/models/monkey.py @@ -46,15 +46,6 @@ class Monkey(Document): # instance. See https://github.com/guardicore/monkey/issues/426. - @staticmethod - def __ring_key__(): - """ - Cache key representation - https://ring-cache.readthedocs.io/en/stable/quickstart.html#method-classmethod-staticmethod-property - :return: - """ - return Monkey.guid - # LOGIC @staticmethod def get_single_monkey_by_id(db_id):