mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
remove deprecated random seed and other minor staticcheck errors (#10851)
This commit is contained in:
parent
52fe09d0b1
commit
5f1f797281
4 changed files with 10 additions and 7 deletions
|
@ -198,7 +198,6 @@ func (d *stackDeployer) remoteStack(stack *portainer.Stack, endpoint *portainer.
|
|||
Str("cmd", strings.Join(cmd, " ")).
|
||||
Msg("running unpacker")
|
||||
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
unpackerContainer, err := cli.ContainerCreate(ctx, &container.Config{
|
||||
Image: image,
|
||||
Cmd: cmd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue