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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1965138 Title: Desktop application should check for service available information before listing it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-desktop-daemon/+bug/1965138/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs