Skip to content

Commit

Permalink
Remove repetitive debug log and add function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello committed Jan 20, 2020
1 parent f7628dd commit a06a6a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/http/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"fmt"

"github.com/DopplerHQ/cli/pkg/models"
"github.com/DopplerHQ/cli/pkg/utils"
"github.com/DopplerHQ/cli/pkg/version"
)

Expand Down Expand Up @@ -131,8 +130,6 @@ func RevokeAuthToken(host string, verifyTLS bool, token string) (map[string]inte
return nil, Error{Err: err, Message: "Unable to parse API response", Code: statusCode}
}

utils.LogDebug("Revoked auth token")

return result, Error{}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/utils/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func HostArch() string {
return arch
}

// IsWindows whether the host os is Windows
func IsWindows() bool {
return runtime.GOOS == "windows"
}

0 comments on commit a06a6a7

Please sign in to comment.