Remove an useless variable and fix a typo in api

Removed an useless variable in create()
And fixed a typo: considertaion --> consideration

Change-Id: I8ebd27701ae61db73deddb28b7321abd53798dfd
Closes-bug:#1460528
This commit is contained in:
wangxiyuan 2015-06-01 14:37:42 +08:00
parent c0625a4e93
commit 196aa751ed
1 changed files with 1 additions and 1 deletions

View File

@ -1097,7 +1097,7 @@ class API(base.Base):
# max_net_count is the maximum number of instances requested by the
# user adjusted for any network quota constraints, including
# considertaion of connections to each requested network
# consideration of connections to each requested network
if max_net_count == 0:
raise exception.PortLimitExceeded()
elif max_net_count < max_count: