mv TimeOut -> Timeout

This commit is contained in:
2023-08-16 10:58:44 +02:00
parent 8f6fc72bfb
commit 8a1c16f402
4 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ func NewTimeOut(config internal.KillSwitchConfig) (TimeOut, error) {
}
func (p TimeOut) GetName() string {
return "TimeOut"
return "Timeout"
}
func (p TimeOut) GetDescription() string {

View File

@@ -11,7 +11,7 @@ type Trigger interface {
}
func NewTrigger(config internal.KillSwitchConfig) (Trigger, error) {
if config.Type == "TimeOut" {
if config.Type == "Timeout" {
return NewTimeOut(config)
}