mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-20 09:14:22 +00:00
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.
12 lines
215 B
Go
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...)}
|
|
}
|