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:
parent
c0625a4e93
commit
196aa751ed
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue