smitajoshi12 commented on PR #5801: URL: https://github.com/apache/ozone/pull/5801#issuecomment-1863213018
> > If We get 0 value LastHeartbeat or if there is no data then check UI is failing or not. > > @smitajoshi12 If `heartbeat` is anything other than a positive number, we get `NA`. > > ``` > return heartbeat > 0 ? getTimeDiffFromTimestamp(heartbeat) : 'NA'; > ``` > > The values I provided in `db.json` were > > * `asd` for `localhost2` > * `-1` for `localhost3` > * `0` for `localhost4` > > Check screenshot. We get `NA` in all cases. > >  @xBis7 Thanks It looks good to me -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
