-
Notifications
You must be signed in to change notification settings - Fork 558
Conversation
@dmitsh ptal |
@@ -235,6 +235,9 @@ func (c *Cluster) AppCount() (int, error) { | |||
// Version will return the node count for a dcos cluster | |||
func (c *Cluster) Version() (string, error) { | |||
out, err := c.Connection.Execute("curl -s http://localhost:80/dcos-metadata/dcos-version.json") | |||
if err != nil { |
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.
Is this code related?
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 were getting lint warning ...
Do you suggest a separate PR?
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.
Nah, it's fine, strange that it should choose this PR to complain about that!
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.
So my CI build failed with make test-style. And I fixed all the things it complained about. This showed up as a warning. And my guess is that it has been ignored all this while. Also that check is needed. We are calculating err and not using it.
What this PR does / why we need it: Changes the way deployment name is computed
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Currently ARM deployment names do not have a cap for 64 characters. Changing the way this name is computed. Making it a function of time/suffix.
Special notes for your reviewer:
Release note: