Comment 3 for bug 1965138

Revision history for this message
Robert Ancell (robert-ancell) wrote :

We are using `/var/lib/ubuntu-advantage/status.json` directly to avoid the server round trip as we want the current status quickly when starting the UI. The file also allows us to watch it for changes and update the UI accordingly.

It would be more desirable to use `ua status --format=json`, but I think that would require a `--no-check` flag or similar and some other means to watch for changes.