storagenode/heldamount: id removed from satellite name
Change-Id: Ic524a40930a5fe7673ccce817d6f68c3538e5208
This commit is contained in:
parent
66661c7486
commit
b878fcc4b2
@ -364,7 +364,7 @@ func TestHeldAmountApi(t *testing.T) {
|
||||
|
||||
held := heldamount.HeldHistory{
|
||||
SatelliteID: satellite.ID(),
|
||||
SatelliteName: satellite.URL(),
|
||||
SatelliteName: satellite.Addr(),
|
||||
Age: int64(age),
|
||||
FirstPeriod: 28,
|
||||
SecondPeriod: 0,
|
||||
|
@ -316,7 +316,7 @@ func (service *Service) AllHeldbackHistory(ctx context.Context) (result []HeldHi
|
||||
}
|
||||
|
||||
history.Age = int64(date.MonthsCountSince(stats.JoinedAt))
|
||||
history.SatelliteName = url.String()
|
||||
history.SatelliteName = url.Address
|
||||
history.JoinedAt = stats.JoinedAt
|
||||
|
||||
result = append(result, history)
|
||||
|
Loading…
Reference in New Issue
Block a user