diff --git a/virtcontainers/persist/api/config.go b/virtcontainers/persist/api/config.go index 8739077367..10f9dbe2af 100644 --- a/virtcontainers/persist/api/config.go +++ b/virtcontainers/persist/api/config.go @@ -12,7 +12,8 @@ type Param struct { Value string } -type asset struct { +// Asset saves hypervisor asset +type Asset struct { Path string `json:"path"` Custom bool `json:"bool"` } @@ -90,7 +91,7 @@ type HypervisorConfig struct { // Each value in that map takes precedence over the configured assets. // For example, if there is a value for the "kernel" key in this map, // it will be used for the sandbox's kernel path instead of KernelPath. - customAssets map[string]*asset + CustomAssets map[string]*Asset // BlockDeviceCacheSet specifies cache-related options will be set to block devices or not. BlockDeviceCacheSet bool diff --git a/virtcontainers/persist/plugin/README.md b/virtcontainers/persist/plugin/README.md index 7a704d22d7..ec230d15b8 100644 --- a/virtcontainers/persist/plugin/README.md +++ b/virtcontainers/persist/plugin/README.md @@ -1,2 +1,2 @@ -This package is a simple placeholder currently which will contains persist storage plugin support, +This package is a simple placeholder currently which will contain persist storage plugin support, e.g. leveldb, sqlite and other possible storage implementations.