Skip to content

Commit

Permalink
Merge pull request #171 from gluckzhang/fix-elasticache-var-reference
Browse files Browse the repository at this point in the history
fix obj variable referenced before assignment error
  • Loading branch information
kuettai authored Dec 18, 2024
2 parents 07fe53a + 8f50083 commit 15024f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/elasticache/Elasticache.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def advise(self):
return objs

for cluster in self.cluster_info:
obj = None
if cluster.get('Engine') == 'memcached':
obj = ElasticacheMemcached(
cluster, self.elasticacheClient, self.driverInfo)
Expand Down

0 comments on commit 15024f8

Please sign in to comment.