提交bug。docker-compose不能使用 #319
alilovetaozi
announced in
Announcements
Replies: 2 comments
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
有这功能就想着用一下。其实用起来还行,可能还有bug。有时间再调一下。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
vulfocus/vulfocus-api/layout_image/views.py
Line 981 in 00e09e6
https://github.com/fofapro/vulfocus/blob/master/vulfocus-api/tasks/tasks.py#L140运行到这里,按照原文的意思,这里 args_yaml应该是一个python对象,args_yaml = new_yaml.load(json.loads(image_info.original_yml))处理时。先将前面的json字符串格式转成json对象,然后用yaml.load()加载,这里面并不是yaml格式字符串。看后面的处理,这里直接用json对象也行。于是删除yaml.load 改成 args_yaml = json.loads(image_info.original_yml) 就行了。
修改后这里就成功了,并且也能用
Beta Was this translation helpful? Give feedback.
All reactions