@@ -43,7 +43,7 @@ const (
4343 clusterIsHealthyTimeout = 5 * time .Minute
4444 pollInterval = 5 * time .Second
4545 // Pacemaker timestamp format for parsing operation history
46- pacemakerTimeFormat = "Mon Jan 2 15:04:05 2006"
46+ pacemakerTimeFormat = "Mon Jan 2 15:04:05 2006"
4747)
4848
4949// Minimal XML types for parsing "pcs status xml" node history.
@@ -372,7 +372,7 @@ func HasRecentResourceFailure(oc *exutil.CLI, execNodeName string, resourceID st
372372 var failures []RecentResourceFailure
373373
374374 for _ , node := range result .NodeHistory .Node {
375- // Match resource ID (handles clone resources like "kubelet-clone" matching "kubelet:0", "kubelet:1")
375+ // Match resource ID (handles clone resources like "kubelet-clone" matching "kubelet:0", "kubelet:1")
376376 for _ , resourceHistory := range node .ResourceHistory {
377377 if ! strings .HasPrefix (resourceHistory .ID , strings .TrimSuffix (resourceID , "-clone" )) {
378378 continue
@@ -384,14 +384,14 @@ func HasRecentResourceFailure(oc *exutil.CLI, execNodeName string, resourceID st
384384 continue
385385 }
386386
387- // Parse the timestamp
387+ // Parse the timestamp
388388 opTime , parseErr := time .Parse (pacemakerTimeFormat , operation .LastRCChange )
389389 if parseErr != nil {
390390 framework .Logf ("Warning: failed to parse timestamp %q: %v" , operation .LastRCChange , parseErr )
391391 continue
392392 }
393-
394- // Check if within time window
393+
394+ // Check if within time window
395395 if ! opTime .After (cutoffTime ) {
396396 continue
397397 }
@@ -545,7 +545,6 @@ func LogEtcdClusterStatus(oc *exutil.CLI, testContext string, etcdClientFactory
545545 return fmt .Errorf ("failed to retrieve etcd ClusterOperator: %v" , err )
546546 }
547547
548-
549548 // Check if etcd operator is Available
550549 available := false
551550 degraded := false
0 commit comments