From 344e3384a8d63e2aafc0c5a81ed594f0549bb9ff Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Tue, 19 May 2020 17:52:32 +0200 Subject: [PATCH] annotations: Fix typo in comment A comment talking about runtime related annotations describes them as being related to the agent. A similar comment for the agent annotations is missing. Fixes: #3004 Signed-off-by: Christophe de Dinechin --- virtcontainers/pkg/annotations/annotations.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virtcontainers/pkg/annotations/annotations.go b/virtcontainers/pkg/annotations/annotations.go index 39109805d0..310ea71a7b 100644 --- a/virtcontainers/pkg/annotations/annotations.go +++ b/virtcontainers/pkg/annotations/annotations.go @@ -208,7 +208,7 @@ const ( BlockDeviceCacheNoflush = kataAnnotHypervisorPrefix + "block_device_cache_noflush" ) -// Agent related annotations +// Runtime related annotations const ( kataAnnotRuntimePrefix = kataConfAnnotationsPrefix + "runtime." @@ -229,6 +229,7 @@ const ( DisableNewNetNs = kataAnnotRuntimePrefix + "disable_new_netns" ) +// Agent related annotations const ( kataAnnotAgentPrefix = kataConfAnnotationsPrefix + "agent."