Skip to content

Commit

Permalink
Add comment to describe info endpoint behavior
Browse files Browse the repository at this point in the history
[#153216915] credhub cli can return version from version endpoint

Signed-off-by: Ashwin Venkatesh <[email protected]>
  • Loading branch information
Edie Beer authored and Ashwin Venkatesh committed Dec 11, 2017
1 parent 5139988 commit 9c20317
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions credhub/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

// Info returns the targeted CredHub server information.
func (ch *CredHub) Info() (*server.Info, error) {
//This uses a the private 'request' as it makes an https call but it does not require authentication
response, err := ch.request(ch.Client(), "GET", "/info", nil, nil)
if err != nil {
return nil, err
Expand Down

0 comments on commit 9c20317

Please sign in to comment.