File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -767,4 +767,8 @@ RpsImage
767767BusyLoopOnSandboxStartup
768768DirigentControlPlaneIP
769769InvokeProtocol
770- autoscaler
770+ autoscaler
771+ FailAt
772+ FailComponent
773+ FailNode
774+ FailureEnabled
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ func ReadConfigurationFile(path string) LoaderConfiguration {
9999func ReadFailureConfiguration (path string ) * FailureConfiguration {
100100 byteValue , err := os .ReadFile (path )
101101 if err != nil {
102- log .Errorf ("Failure configuration not found at '%s'..." , path )
102+ log .Warnf ("Failure configuration not found at '%s'..." , path )
103103 return & FailureConfiguration {}
104104 }
105105
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212const NodeSeparator = " "
1313
1414func ScheduleFailure (platform string , config * config.FailureConfiguration ) {
15- if config .FailAt != 0 && config .FailComponent != "" {
15+ if config != nil && config .FailAt != 0 && config .FailComponent != "" {
1616 switch platform {
1717 case "Knative" , "Knative-RPS" :
1818 triggerKnativeFailure (config .FailNode , config .FailComponent , config .FailAt )
You can’t perform that action at this time.
0 commit comments