Remove super old unnecessary TODO from API start() method
The ec2 API is not in tree nor does the start instance flow deal with injected files or availability zones so remove the really old TODO from when the API method was added in 2011. Change-Id: I2df5010f50c032ae57adb2d128824a05a9189f9d
This commit is contained in:
parent
4781ef3321
commit
7e85335f2e
|
@ -2395,9 +2395,6 @@ class API(base.Base):
|
|||
instance.save(expected_task_state=[None])
|
||||
|
||||
self._record_action_start(context, instance, instance_actions.START)
|
||||
# TODO(yamahata): injected_files isn't supported right now.
|
||||
# It is used only for osapi. not for ec2 api.
|
||||
# availability_zone isn't used by run_instance.
|
||||
self.compute_rpcapi.start_instance(context, instance)
|
||||
|
||||
@check_instance_lock
|
||||
|
|
Loading…
Reference in New Issue