aboutsummaryrefslogtreecommitdiff
path: root/libpod/runtime_ctr.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-28 15:15:51 +0200
committerGitHub <noreply@github.com>2022-03-28 15:15:51 +0200
commitffe87c0bdfdd5f4be596731b2a31c44745a5dbfa (patch)
tree4f83af8ff1f361598613a022d18e3bf5bb6554e0 /libpod/runtime_ctr.go
parente1699d8591ab87717ae018583c896561c43efb29 (diff)
parent82ed99b6afa9ec67539afd6e3d9e299ea5c4e74b (diff)
downloadpodman-ffe87c0bdfdd5f4be596731b2a31c44745a5dbfa.tar.gz
podman-ffe87c0bdfdd5f4be596731b2a31c44745a5dbfa.tar.bz2
podman-ffe87c0bdfdd5f4be596731b2a31c44745a5dbfa.zip
Merge pull request #13677 from flouthoc/rename-event
libpod, event: generate a valid event on container `rename` operation
Diffstat (limited to 'libpod/runtime_ctr.go')
-rw-r--r--libpod/runtime_ctr.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go
index fc1a688fb..8c3d283a5 100644
--- a/libpod/runtime_ctr.go
+++ b/libpod/runtime_ctr.go
@@ -155,6 +155,7 @@ func (r *Runtime) RenameContainer(ctx context.Context, ctr *Container, newName s
return nil, err
}
+ ctr.newContainerEvent(events.Rename)
return ctr, nil
}