snap find returns "no snaps found" when there is no network

Bug #1575252 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Low
Unassigned

Bug Description

If there is no network `snap find` will not return a useful result:
```
ubuntu@localhost:/etc$ ifconfig
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:12800 (12.8 KB) TX bytes:12800 (12.8 KB)

ubuntu@localhost:/etc$ snap find
error: no snaps found
```

It should return that it can not talk to the store instead.

Michael Vogt (mvo)
Changed in snappy:
importance: Undecided → Low
status: New → Triaged
Michael Vogt (mvo)
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.