Skip to content
Snippets Groups Projects
Commit 5557e7b4 authored by zf4's avatar zf4
Browse files

save to file

parent 74fe7717
No related branches found
No related tags found
No related merge requests found
...@@ -497,6 +497,7 @@ func saveTempData() { ...@@ -497,6 +497,7 @@ func saveTempData() {
// Save current output to a file in sdfs // Save current output to a file in sdfs
func SaveToFile() { func SaveToFile() {
saveTempData()
dataSaveMux.Lock() dataSaveMux.Lock()
tmp := make([]string, 0) tmp := make([]string, 0)
tmp = append(tmp, craneOutput) tmp = append(tmp, craneOutput)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment