mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
docker: second --ldflags was overriding the first --ldflags option
This commit is contained in:
3
main.go
3
main.go
@@ -156,6 +156,9 @@ func main() {
|
||||
probe.Init() // Set project's root source path.
|
||||
probe.SetAppInfo("Release-Tag", minioReleaseTag)
|
||||
probe.SetAppInfo("Commit-ID", minioShortCommitID)
|
||||
if os.Getenv("DOCKERIMAGE") == "1" {
|
||||
probe.SetAppInfo("Docker-Image", "true")
|
||||
}
|
||||
|
||||
app := registerApp()
|
||||
app.Before = func(c *cli.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user