kairos-agent/internal/provider/common.go
Ettore Di Giacinto adce182ea2 art: Refactor out config sections
Now there is a `install` section in the config that has the fields that previously where in `c3os` but
were actually only used during install phase.

Also the k3s and c3os config were moved to the provider instead that in the global config.
2022-07-16 20:47:55 +00:00

12 lines
215 B
Go

package provider
import (
"fmt"
"github.com/mudler/go-pluggable"
)
func ErrorEvent(format string, a ...interface{}) pluggable.EventResponse {
return pluggable.EventResponse{Error: fmt.Sprintf(format, a...)}
}