feat: added downloading templated archives
This commit is contained in:
parent
1ebea8cb73
commit
98f9acad5d
5 changed files with 48 additions and 23 deletions
|
|
@ -115,7 +115,7 @@ func (p *Jinja2) Run(store storage.KVStore, args []string) error {
|
|||
}
|
||||
|
||||
// write render templates to data store output
|
||||
store.Set("out", output.String())
|
||||
store.Set("out", output.Bytes())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ func (p *SmdClient) Run(store storage.KVStore, args []string) error {
|
|||
// write data back to shared data store to be used by other plugins
|
||||
bytes, err = json.Marshal(client)
|
||||
if err != nil {
|
||||
return fmt.Errorf("(smd) failed to marshal SMD client: %v")
|
||||
return fmt.Errorf("(smd) failed to marshal SMD client: %v", err)
|
||||
}
|
||||
store.Set("shared", bytes)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue