vendor: bump mountinfo v0.3.1

It contains some breaking changes, so fix the code.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2020-10-01 17:40:58 -07:00
parent c82737665a
commit 87412ee435
14 changed files with 46 additions and 61 deletions
+2 -2
View File
@@ -116,8 +116,8 @@ func TestFactoryNewTmpfs(t *testing.T) {
t.Fatalf("Factory Root is not listed in mounts list")
}
m := mounts[0]
if m.Fstype != "tmpfs" {
t.Fatalf("Fstype of root: %s, expected %s", m.Fstype, "tmpfs")
if m.FSType != "tmpfs" {
t.Fatalf("FSType of root: %s, expected %s", m.FSType, "tmpfs")
}
if m.Source != "tmpfs" {
t.Fatalf("Source of root: %s, expected %s", m.Source, "tmpfs")