Skip to content

Commit

Permalink
fix for review
Browse files Browse the repository at this point in the history
  • Loading branch information
huyuanzhe committed Oct 19, 2022
1 parent 5da5e60 commit ee0f729
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apiserver/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var (
rpcPortFlag = flag.String("rpcPortFlag", ":8887", "RPC Port")
httpPortFlag = flag.String("httpPortFlag", ":8888", "Http Proxy Port")
collectMetricsFlag = flag.Bool("collectMetricsFlag", true, "Whether to collect Prometheus metrics in API server.")
logFile = flag.String("log_file", "", "sync log to local file")
logFile = flag.String("logFilePath", "", "sync log to local file")
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion ray-operator/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ go 1.17

require (
github.com/go-logr/logr v1.2.0
github.com/go-logr/zapr v1.2.0
github.com/jarcoal/httpmock v1.2.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.17.0
Expand Down Expand Up @@ -31,7 +32,6 @@ require (
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/go-logr/zapr v1.2.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
Expand Down
2 changes: 1 addition & 1 deletion ray-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
"Temporary feature flag - to be deleted after testing")
flag.BoolVar(&ray.ForcedClusterUpgrade, "forced-cluster-upgrade", false,
"Forced cluster upgrade flag")
flag.StringVar(&logFile, "log_file", "",
flag.StringVar(&logFile, "log-file-path", "",
"sync log to local file")

opts := k8szap.Options{
Expand Down

0 comments on commit ee0f729

Please sign in to comment.