1
# Copyright 2013 Canonical Ltd. This software is licensed under the
2
# GNU Affero General Public License version 3 (see the file LICENSE).
4
# fixed ElasticSearch mapping for charms.
5
from charmworld.search import update as es_update
7
def upgrade(db, index_client):
8
es_update(index_client)