@@ -41,11 +41,11 @@ public struct SystemInformation: Codable {
41
41
42
42
/// Indicates if the host has kernel memory limit support enabled.
43
43
@available ( * , deprecated, message: " This field is deprecated as the kernel 5.4 deprecated `kmem.limit_in_bytes` " )
44
- public let kernelMemory : Bool
44
+ public let kernelMemory : Bool ?
45
45
46
46
/// Indicates if the host has kernel memory TCP limit support enabled.
47
47
/// Kernel memory TCP limits are not supported when using cgroups v2, which does not support the corresponding memory.kmem.tcp.limit_in_bytes cgroup.
48
- public let kernelMemoryTCP : Bool
48
+ public let kernelMemoryTCP : Bool ?
49
49
50
50
/// Indicates if CPU CFS (Completely Fair Scheduler) period is supported by the host.
51
51
public let cpuCfsPeriod : Bool
@@ -322,9 +322,11 @@ public struct Plugins: Codable {
322
322
323
323
// MARK: - RegistryConfig
324
324
public struct RegistryConfig : Codable {
325
- public let allowNondistributableArtifactsCIDRs , allowNondistributableArtifactsHostnames , insecureRegistryCIDRs : [ String ]
325
+ public let allowNondistributableArtifactsCIDRs : [ String ] ?
326
+ public let allowNondistributableArtifactsHostnames : [ String ] ?
327
+ public let insecureRegistryCIDRs : [ String ]
326
328
public let indexConfigs : [ String : IndexConfig ]
327
- public let mirrors : [ String ]
329
+ public let mirrors : [ String ] ?
328
330
329
331
enum CodingKeys : String , CodingKey {
330
332
case allowNondistributableArtifactsCIDRs = " AllowNondistributableArtifactsCIDRs "
0 commit comments