File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed
cmd/cluster-image-registry-operator Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
1
build_root_image :
2
2
name : release
3
3
namespace : openshift
4
- tag : rhel-8-release-golang-1.19 -openshift-4.14
4
+ tag : rhel-8-release-golang-1.20 -openshift-4.14
Original file line number Diff line number Diff line change 1
- FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19 -openshift-4.14 AS builder
1
+ FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20 -openshift-4.14 AS builder
2
2
WORKDIR /go/src/github.com/openshift/cluster-image-registry-operator
3
3
COPY . .
4
4
RUN make build
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ PROG := cluster-image-registry-operator
4
4
5
5
GOLANGCI_LINT = _output/tools/golangci-lint
6
6
GOLANGCI_LINT_CACHE = $(PWD ) /_output/golangci-lint-cache
7
- GOLANGCI_LINT_VERSION = v1.50.1
7
+ GOLANGCI_LINT_VERSION = v1.51.0
8
8
9
9
GO_REQUIRED_MIN_VERSION = 1.16
10
10
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ import (
4
4
"context"
5
5
"flag"
6
6
"log"
7
- "math/rand"
8
7
"os"
9
8
"runtime"
10
- "time"
11
9
12
10
"github.com/spf13/cobra"
13
11
@@ -63,7 +61,6 @@ func main() {
63
61
func (ctx context.Context , cctx * controllercmd.ControllerContext ) error {
64
62
printVersion ()
65
63
klog .Infof ("Watching files %v..." , filesToWatch )
66
- rand .Seed (time .Now ().UnixNano ())
67
64
go metrics .RunServer (metricsPort )
68
65
return operator .RunOperator (ctx , cctx .KubeConfig )
69
66
},
You can’t perform that action at this time.
0 commit comments