projects
/
osm
/
NBI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
807b8bf
)
Fix zipfile filename in OKA creation
98/14598/1
author
yshah
<shahithya.y@tataelxsi.co.in>
Tue, 24 Sep 2024 18:16:07 +0000
(18:16 +0000)
committer
yshah
<shahithya.y@tataelxsi.co.in>
Tue, 24 Sep 2024 18:37:37 +0000
(18:37 +0000)
Change-Id: I4702eb0289db82ab871b4c1763091162152cc86f
Signed-off-by: yshah <shahithya.y@tataelxsi.co.in>
osm_nbi/k8s_topics.py
patch
|
blob
|
history
diff --git
a/osm_nbi/k8s_topics.py
b/osm_nbi/k8s_topics.py
index
8d9d244
..
e00326d
100644
(file)
--- a/
osm_nbi/k8s_topics.py
+++ b/
osm_nbi/k8s_topics.py
@@
-1099,12
+1099,11
@@
class OkaTopic(DescriptorTopic):
storage = self.fs.get_params()
storage["folder"] = proposed_revision_path
+ storage["zipfile"] = filename
file_path = (proposed_revision_path, filename)
file_pkg = self.fs.file_open(file_path, "a+b")
- filename = indata.filename
-
if isinstance(indata, dict):
indata_text = yaml.safe_dump(indata, indent=4, default_flow_style=False)
file_pkg.write(indata_text.encode(encoding="utf-8"))