mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-04 10:24:37 +00:00
runtime/tests: Update annotation for initdata
Let's rename the runtime-rs initdata annotation from
`io.katacontainers.config.runtime.cc_init_data` to
`io.katacontainers.config.hypervisor.cc_init_data`.
Rationale:
- initdata itself is a hypervisor-specific feature
- the new name aligns with the annotation handling logic:
c92bb1aa88/src/libs/kata-types/src/annotations/mod.rs (L514-L968)
This commit updates the annotation for go-runtime and tests accordingly.
Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
@@ -245,7 +245,7 @@ const (
|
||||
EnableRootlessHypervisor = kataAnnotHypervisorPrefix + "rootless"
|
||||
|
||||
// Initdata is the initdata passed in when CreateVM
|
||||
Initdata = kataConfAnnotationsPrefix + "runtime.cc_init_data"
|
||||
Initdata = kataConfAnnotationsPrefix + "hypervisor.cc_init_data"
|
||||
)
|
||||
|
||||
// Runtime related annotations
|
||||
|
Reference in New Issue
Block a user