Skip to content

Commit

Permalink
bus: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Oct 31, 2024
1 parent d3a86f8 commit c7b9a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bus/bus.go
Original file line number Diff line number Diff line change
Expand Up @@ -910,15 +910,15 @@ func (b *Bus) scanHost(ctx context.Context, timeout time.Duration, hostKey types
// fetch the host settings
start := time.Now()
scanCtx, cancel := timeoutCtx()
settings, err := b.rhp2.Settings(scanCtx, hostKey, hostIP)
settings, err := b.rhp2Client.Settings(scanCtx, hostKey, hostIP)
cancel()
if err != nil {
return settings, rhpv3.HostPriceTable{}, time.Since(start), err
}

// fetch the host pricetable
scanCtx, cancel = timeoutCtx()
pt, err := b.rhp3.PriceTableUnpaid(scanCtx, hostKey, settings.SiamuxAddr())
pt, err := b.rhp3Client.PriceTableUnpaid(scanCtx, hostKey, settings.SiamuxAddr())
cancel()
if err != nil {
return settings, rhpv3.HostPriceTable{}, time.Since(start), err
Expand Down

0 comments on commit c7b9a09

Please sign in to comment.