mirror of
https://github.com/kairos-io/provider-kairos.git
synced 2025-08-16 14:36:40 +00:00
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...)}
|
|
}
|