Merge pull request #954 from harshavardhana/minio-commit

minio/probe: Add missing Commit-ID for probe appinfo
This commit is contained in:
Harshavardhana 2015-11-02 15:15:51 -08:00
commit 02d843ef5d

View File

@ -150,6 +150,7 @@ VERSION:
func main() { func main() {
probe.Init() // Set project's root source path. probe.Init() // Set project's root source path.
probe.SetAppInfo("Release-Tag", minioReleaseTag) probe.SetAppInfo("Release-Tag", minioReleaseTag)
probe.SetAppInfo("Commit-ID", minioShortCommitID)
app := registerApp() app := registerApp()
app.Before = func(c *cli.Context) error { app.Before = func(c *cli.Context) error {