Move wisski instance code to separate package
This commit is contained in:
parent
7c3c84e116
commit
063f3f9b7d
67 changed files with 533 additions and 409 deletions
|
|
@ -45,11 +45,11 @@ func (sn snapshot) Run(context wisski_distillery.Context) error {
|
|||
}
|
||||
|
||||
// do a snapshot of it!
|
||||
err = dis.SnapshotManager().MakeExport(context.IOStream, snapshots.ExportTask{
|
||||
err = dis.ExportManager().MakeExport(context.IOStream, snapshots.ExportTask{
|
||||
Dest: sn.Positionals.Dest,
|
||||
StagingOnly: sn.StagingOnly,
|
||||
|
||||
Instance: &instance,
|
||||
Instance: instance,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue