Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

pkg/status: Return version in status #2199

Merged
merged 1 commit into from Nov 29, 2015
Merged

Conversation

josephglanville
Copy link
Contributor

Signed-off-by: Joseph Glanville jpg@jpg.id.au

}

func New(healthy bool, detail interface{}) (Status, error) {
var s Status
s.Version = version.String()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to assign this here? The assignment in the handler should be sufficient.

Signed-off-by: Joseph Glanville <jpg@jpg.id.au>
@titanous
Copy link
Contributor

LGTM

josephglanville added a commit that referenced this pull request Nov 29, 2015
pkg/status: Return version in status
@josephglanville josephglanville merged commit 51fbd45 into master Nov 29, 2015
@josephglanville josephglanville deleted the status_versions branch November 29, 2015 01:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants