Skip to content

Commit

Permalink
CASMHMS-6233: Resolve one lingering review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlv committed Jul 16, 2024
1 parent e5b79d9 commit a91ff27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/redfish/rfcomponents.go
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ func (s *EpSystem) discoverRemotePhase1() {
if isFoxconnPowerOnEventDiscovery && (pwrCtl.PowerConsumedWatts == nil || pwrCtl.PowerCapacityWatts == 0) {
errlog.Printf("Foxconn Paradise WARNING: /Power endpoint not ready (%v, %d), retry %d in %d seconds\n", pwrCtl.PowerConsumedWatts, pwrCtl.PowerCapacityWatts, foxconnPowerRetryNum, foxconnPowerRetryDelay)
time.Sleep(time.Duration(foxconnPowerRetryDelay) * time.Second)
if foxconnPowerRetryNum == maxPowerRetries {
if foxconnPowerRetryNum >= maxPowerRetries {
errlog.Printf("Foxconn Paradise ERROR: Unable to read /Power endpoint after %d retries. A manual discover with node power on is required to rediscover power cap data\n", foxconnPowerRetryNum)
goto FoxconnPowerTimedOut
} else {
Expand Down

0 comments on commit a91ff27

Please sign in to comment.