Skip to content

Commit

Permalink
Actually update the counter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Aug 5, 2016
1 parent ebe26e1 commit 36679da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions st2common/st2common/models/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def cleanup_extra_indexes(model_class):
try:
c.drop_index(extra_index)
LOG.debug('Dropped index %s for model %s.', extra_index, model_class.__name__)
removed_count += 1
except OperationFailure:
LOG.warning('Attempt to cleanup index % failed.', extra_index, exc_info=True)

Expand Down

0 comments on commit 36679da

Please sign in to comment.