mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #21135 from cro/ugly_pyrax_error2
Import salt.utils.openstack.pyrax differently to avoid failed import by loader
This commit is contained in:
commit
02d3b3e64c
@ -17,7 +17,10 @@ import salt.utils.cloud
|
|||||||
import salt.config as config
|
import salt.config as config
|
||||||
|
|
||||||
# Import pyrax libraries
|
# 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
|
# Only load in this module is the OPENSTACK configurations are in place
|
||||||
|
Loading…
Reference in New Issue
Block a user