Fix regression in stagingContext
This commit is contained in:
parent
3a893bbfb6
commit
fcdb3a1d6a
14 changed files with 78 additions and 70 deletions
|
|
@ -20,7 +20,7 @@ func (*Config) BackupName() string {
|
|||
return "config"
|
||||
}
|
||||
|
||||
func (control *Config) Backup(scontext component.StagingContext) error {
|
||||
func (control *Config) Backup(scontext *component.StagingContext) error {
|
||||
files := control.backupFiles()
|
||||
|
||||
return scontext.AddDirectory("", func(ctx context.Context) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue