Skip to content

Commit

Permalink
annotations: Fix typo in comment
Browse files Browse the repository at this point in the history
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: kata-containers#3004

Signed-off-by: Christophe de Dinechin <[email protected]>
  • Loading branch information
c3d committed Oct 9, 2020
1 parent 191e5eb commit 85e1201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion virtcontainers/pkg/annotations/annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const (
BlockDeviceCacheNoflush = kataAnnotHypervisorPrefix + "block_device_cache_noflush"
)

// Agent related annotations
// Runtime related annotations
const (
kataAnnotRuntimePrefix = kataConfAnnotationsPrefix + "runtime."

Expand All @@ -232,6 +232,7 @@ const (
DisableNewNetNs = kataAnnotRuntimePrefix + "disable_new_netns"
)

// Agent related annotations
const (
kataAnnotAgentPrefix = kataConfAnnotationsPrefix + "agent."

Expand Down

0 comments on commit 85e1201

Please sign in to comment.