summaryrefslogtreecommitdiff
path: root/libpod/pod_internal.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-14 16:17:37 +0200
committerGitHub <noreply@github.com>2022-09-14 16:17:37 +0200
commit017d81ddd0e8d228aadb949175c0aae1e4b9d925 (patch)
tree4036fd98987b27d78f090a46e108889450267860 /libpod/pod_internal.go
parenta3876c2f854b6de58c7259f09eff0ec2b126f007 (diff)
parent75740be39541296d379e34902e11ba49e96a1867 (diff)
downloadpodman-017d81ddd0e8d228aadb949175c0aae1e4b9d925.tar.gz
podman-017d81ddd0e8d228aadb949175c0aae1e4b9d925.tar.bz2
podman-017d81ddd0e8d228aadb949175c0aae1e4b9d925.zip
Merge pull request #15788 from kolyshkin/non-crypto-id
all: stop using deprecated GenerateNonCryptoID
Diffstat (limited to 'libpod/pod_internal.go')
-rw-r--r--libpod/pod_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/pod_internal.go b/libpod/pod_internal.go
index 9f89fd55d..d63bff2c9 100644
--- a/libpod/pod_internal.go
+++ b/libpod/pod_internal.go
@@ -16,7 +16,7 @@ import (
func newPod(runtime *Runtime) *Pod {
pod := new(Pod)
pod.config = new(PodConfig)
- pod.config.ID = stringid.GenerateNonCryptoID()
+ pod.config.ID = stringid.GenerateRandomID()
pod.config.Labels = make(map[string]string)
pod.config.CreatedTime = time.Now()
// pod.config.InfraContainer = new(ContainerConfig)