File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
pkg/services/baremetal/host Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -620,14 +620,6 @@ func (s *Service) actionRegistering(ctx context.Context) actionResult {
620
620
return actionError {err : fmt .Errorf (errMsgFailedHandlingIncompleteBoot , err )}
621
621
}
622
622
623
- if ! isSSHTimeoutError && ! isSSHConnectionRefusedError {
624
- msg := fmt .Sprintf ("expected rescue system, but found different hostname %q" , hostName )
625
- record .Warn (s .scope .HetznerBareMetalHost , "RegisteringFailed" , msg )
626
- ctrl .LoggerFrom (ctx ).Error (errors .New ("RegisteringFailed" ), msg )
627
- s .scope .HetznerBareMetalHost .SetError (infrav1 .PermanentError , msg )
628
- return actionStop {}
629
- }
630
-
631
623
timeSinceReboot := "unknown"
632
624
if s .scope .HetznerBareMetalHost .Spec .Status .LastUpdated != nil {
633
625
timeSinceReboot = time .Since (s .scope .HetznerBareMetalHost .Spec .Status .LastUpdated .Time ).String ()
You can’t perform that action at this time.
0 commit comments