Skip to content

Commit

Permalink
Show Inactive in provider info
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Jul 14, 2023
1 parent 12d1798 commit b1df41a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ func showProviderInfo(cctx *cli.Context, pinfo *model.ProviderInfo) {
fmt.Println(" FrozenAtTime:", pinfo.FrozenAtTime)
}

if pinfo.Inactive {
fmt.Println(" Inactive: true")
}

if pinfo.LastError != "" {
fmt.Println(" LastError:", pinfo.LastError)
fmt.Println(" LastErrorTime:", pinfo.LastErrorTime)
Expand Down

0 comments on commit b1df41a

Please sign in to comment.