Skip to content

Commit

Permalink
gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
sharnoff committed Dec 12, 2024
1 parent abbfc67 commit 5e20f88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/plugin/handle_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,12 @@ func (s *PluginState) patchReservedResourcesForPod(
// then fall through to the normal one if that gets a conflict:
if !hasKnownAnnotations {
addPatches := []patch.Operation{
patch.Operation{
{
Op: patch.OpTest,
Path: "/metadata/annotations",
Value: (*struct{})(nil), // typed nil, so that it shows up as 'null'
},
patch.Operation{
{
Op: patch.OpAdd,
Path: "/metadata/annotations",
Value: struct{}{},
Expand Down

0 comments on commit 5e20f88

Please sign in to comment.