Modify recommend_configs arguments in vanilla 1

Although recommentdations in vanilla 1 plugin aren't supported, the
arguments of method recommend_configs in versionhandler should be
consistent with version 2. Otherwise, the creation of cluster will
fail with Internal Server Error.

Change-Id: Ic0b6fcc4cd51bcc4095a2e3f9db80abb40b415d7
Closes-Bug: #1490723
This commit is contained in:
mathspanda 2015-09-02 13:47:11 +08:00
parent c19fd95117
commit b476da26b2
1 changed files with 1 additions and 1 deletions

View File

@ -591,6 +591,6 @@ class VersionHandler(avm.AbstractVersionHandler):
def on_terminate_cluster(self, cluster):
proxy.delete_proxy_user_for_cluster(cluster)
def recommend_configs(self, cluster):
def recommend_configs(self, cluster, scaling):
# We don't support any recommendations in Vanilla 1 plugin
pass