projects
/
osm
/
NG-SA.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the name of the VM as id for gcp vim_connector
[osm/NG-SA.git]
/
src
/
osm_ngsa
/
osm_mon
/
core
/
config.py
diff --git
a/src/osm_ngsa/osm_mon/core/config.py
b/src/osm_ngsa/osm_mon/core/config.py
index
eb0e493
..
22b712f
100644
(file)
--- a/
src/osm_ngsa/osm_mon/core/config.py
+++ b/
src/osm_ngsa/osm_mon/core/config.py
@@
-36,7
+36,7
@@
class Config:
path = "config.yaml"
config_file = pkg_resources.resource_filename(__name__, path)
with open(config_file) as f:
path = "config.yaml"
config_file = pkg_resources.resource_filename(__name__, path)
with open(config_file) as f:
- self.conf = yaml.load(f)
+ self.conf = yaml.
safe_
load(f)
def get(self, section, field=None):
if not field:
def get(self, section, field=None):
if not field: