Split up WissKI Instance code

This commit is contained in:
Tom Wiesing 2022-09-15 12:54:16 +02:00
parent d7110dd63c
commit 85b5603d9d
No known key found for this signature in database
16 changed files with 285 additions and 244 deletions

View file

@ -42,7 +42,7 @@ func (rb rebuild) Run(context wisski_distillery.Context) error {
var globalErr error
for _, instance := range instances {
logging.LogOperation(func() error {
s := instance.Stack()
s := instance.Barrel()
if err := logging.LogOperation(func() error {
return s.Install(context.IOStream, component.InstallationContext{})
}, context.IOStream, "Installing docker stack"); err != nil {