-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fixes #45
Build fixes #45
Conversation
Non-Docker builds by default, no vendoring, more useful targets.
upx is nice, but not necessary for this and duplicating Makefile is just not good. Note that in absence of vendoring building this can be problematic at the moment because of private repository dependency, it'll be solved in future.
cmd/gate/app-settings.go:108:36 gosimple S1019: should use make(map[string]float64) instead
The same one as used by HTTP gate.
@@ -7,6 +7,7 @@ import ( | |||
"github.com/gorilla/mux" | |||
) | |||
|
|||
// Healthy is a health check interface. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to talk about healthchecks offline. IR and Storage node healthcheck interface in control g RPC API is about to be implemented. Maybe we should sync them somehow to make similar UX for operations.
@@ -1,12 +1,16 @@ | |||
package misc | |||
|
|||
const ( | |||
// ApplicationName is gateway name. | |||
ApplicationName = "neofs-s3-gate" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just -gw
here, to match binary name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have neofs-http-gate
here for HTTP gate, so I've decided to follow this naming scheme. But yes, we're a bit inconsistent with neofs-X-gate
repositories, neofs-X-gate
application names and neofs-X-gw
binaries.
No description provided.