Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gravitational/teleport
Browse files Browse the repository at this point in the history
  • Loading branch information
kontsevoy committed Sep 25, 2016
2 parents f1007c2 + 20e0297 commit b277805
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/utils/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func InitLoggerForTests() {
log.SetOutput(ioutil.Discard)
}

// FatalError is for CLI front-ends: it detects gravitational.Trace debugging
// FatalError is for CLI front-ends: it detects gravitational/trace debugging
// information, sends it to the logger, strips it off and prints a clean message to stderr
func FatalError(err error) {
fmt.Fprintln(os.Stderr, UserMessageFromError(err))
Expand Down
6 changes: 3 additions & 3 deletions tool/tctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,11 @@ func connectToAuthService(cfg *service.Config) (client *auth.TunClient, err erro
return client, nil
}

// validateConfig updtes&validates tctl configuration
// validateConfig validates and updates tctl configuration
func validateConfig(cfg *service.Config) {
var err error
// read or generate a host UUID for this node
cfg.HostUUID, err = utils.ReadOrMakeHostUUID(cfg.DataDir)
// read a host UUID for this node
cfg.HostUUID, err = utils.ReadHostUUID(cfg.DataDir)
if err != nil {
utils.FatalError(err)
}
Expand Down

0 comments on commit b277805

Please sign in to comment.