30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From d3addfe581317c208103892bb84ca816d8aadaab Mon Sep 17 00:00:00 2001
|
|
Message-Id: <d3addfe581317c208103892bb84ca816d8aadaab.1659958805.git.stefan@agner.ch>
|
|
In-Reply-To: <410089ea4bb8bf051a941febd087b0346b967a10.1659958805.git.stefan@agner.ch>
|
|
References: <410089ea4bb8bf051a941febd087b0346b967a10.1659958805.git.stefan@agner.ch>
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Fri, 5 Aug 2022 12:59:15 +0200
|
|
Subject: [PATCH 05/11] Don't store is_default in json
|
|
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
libcontainer/devices/device.go | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libcontainer/devices/device.go b/libcontainer/devices/device.go
|
|
index 9540a89c..ae59c6c5 100644
|
|
--- a/libcontainer/devices/device.go
|
|
+++ b/libcontainer/devices/device.go
|
|
@@ -26,7 +26,7 @@ type Device struct {
|
|
Gid uint32 `json:"gid"`
|
|
|
|
// Is Default Device
|
|
- IsDefault bool `json:"is_default"`
|
|
+ IsDefault bool `json:"-"`
|
|
}
|
|
|
|
// Permissions is a cgroupv1-style string to represent device access. It
|
|
--
|
|
2.37.1
|
|
|