Reviewed: https://review.openstack.org/124558 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1345a6a11db4a8ea60d52275bc2efa3b4818546a Submitter: Jenkins Branch: master
commit 1345a6a11db4a8ea60d52275bc2efa3b4818546a Author: Lars Kellogg-Stedman <email address hidden> Date: Fri Sep 26 22:00:27 2014 -0400
Fix hook documentation on entry_points config
The syntax suggested for adding hooks to nova via setup.py entrypoints is:
entry_points = { 'nova.hooks': [ 'resize_hook': your_package.hooks.YourHookClass, ] },
But this is incorrect. The proper syntax for an entry_points entry is:
entry_points = { 'nova.hooks': [ 'resize_hook=your_package.hooks:YourHookClass', ] },
Change-Id: Id7bc6891dc542d4317e82e15300c7293eb0d17a0 Closes-bug: #1374666
Reviewed: https:/ /review. openstack. org/124558 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1345a6a11db 4a8ea60d52275bc 2efa3b4818546a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1345a6a11db4a8e a60d52275bc2efa 3b4818546a
Author: Lars Kellogg-Stedman <email address hidden>
Date: Fri Sep 26 22:00:27 2014 -0400
Fix hook documentation on entry_points config
The syntax suggested for adding hooks to nova via setup.py entrypoints is:
]
},
But this is incorrect. The proper syntax for an entry_points entry is:
]
},
Change-Id: Id7bc6891dc542d 4317e82e15300c7 293eb0d17a0
Closes-bug: #1374666