mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Import salt.utils.openstack.pyrax differently to avoid failed import by loader.
This commit is contained in:
parent
36839dc394
commit
552f60a8f2
@ -17,7 +17,10 @@ import salt.utils.cloud
|
||||
import salt.config as config
|
||||
|
||||
# Import pyrax libraries
|
||||
import salt.utils.openstack.pyrax as suop
|
||||
# This is typically against SaltStack coding styles,
|
||||
# it should be 'import salt.utils.openstack.pyrax as suop'. Something
|
||||
# in the loader is creating a name clash and making that form fail
|
||||
from salt.utils.openstack import pyrax as suop
|
||||
|
||||
|
||||
# Only load in this module is the OPENSTACK configurations are in place
|
||||
|
Loading…
Reference in New Issue
Block a user