Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

enhancement: forc index status formatting update #1365

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

lostman
Copy link
Contributor

@lostman lostman commented Sep 19, 2023

Description

I think the current output of forc index status, which includes a pretty-printed JSON response, looks slightly off:

✅ Sucessfully fetched service health:

{
  "client_status": "OK",
  "database_status": "OK",
  "uptime": "246"
}
─ fuellabs
   └─ explorer
      • id: 1
      • created_at: 2023-09-19 16:32:05.413191 UTC
      • pubkey: None

This PR makes a small change:

✅ Successfully fetched service health:

client status: OK
database status: OK
uptime: 24m 10s

indexers:
─ fuellabs
   └─ explorer
      • id: 2
      • created at: 2023-09-19 17:21:51.887567 UTC
      • pubkey: None

Testing steps

CI should pass.

Changelog

  • Change the formatting of forc-index status.

@lostman lostman self-assigned this Sep 19, 2023
@lostman lostman force-pushed the maciej/forc-index-status-improvements branch from cf96c34 to c2cec45 Compare September 19, 2023 18:10
@lostman lostman marked this pull request as ready for review September 20, 2023 08:36
@ra0x3 ra0x3 merged commit 14b307c into develop Sep 20, 2023
18 checks passed
@ra0x3 ra0x3 deleted the maciej/forc-index-status-improvements branch September 20, 2023 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants