This is an automated email from the ASF dual-hosted git repository. dubeejw pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-client-go.git
The following commit(s) were added to refs/heads/master by this push: new ab02253 Fix typos/grammar in trace source file. (#53) ab02253 is described below commit ab022535e5abb3e4a42ece68c9e3eada73a964df Author: Matt Rutkowski <mrutk...@us.ibm.com> AuthorDate: Fri Jan 5 13:10:53 2018 -0600 Fix typos/grammar in trace source file. (#53) * Fix typos/grammar in trace source file. --- whisk/trace.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/whisk/trace.go b/whisk/trace.go index 26f7c80..e3ba7e2 100644 --- a/whisk/trace.go +++ b/whisk/trace.go @@ -69,13 +69,13 @@ func Debug(dl DebugLevel, msgFormat string, args ...interface{}) { msg := fmt.Sprintf(msgFormat, args...) fcnName := fcn.Name() - // Cobra command Run/RunE functions are anonymous, so the function name is unfriendly, - // so use a file name instead + // Cobra command Run/RunE functions are anonymous, so the function name is unfriendly; + // use the file name instead if strings.Contains(fcnName, "commands.glob.") || strings.Contains(fcnName, "whisk.glob.") { fcnName = file } - // Only interesting the the trailing function/file name characters + // Only interested in the the trailing function/file name characters if len(fcnName) > MaxNameLen { fcnName = fcnName[len(fcnName)-MaxNameLen:] } @@ -85,7 +85,7 @@ func Debug(dl DebugLevel, msgFormat string, args ...interface{}) { /* Function for tracing debug level messages to stdout Output format: - [file-or-function-name]:line-#:[DebugLevel] The formated message without any appended \n + [file-or-function-name]:line-#:[DebugLevel] The formatted message without any appended newline characters */ func Verbose(msgFormat string, args ...interface{}) { if IsVerbose() { -- To stop receiving notification emails like this one, please contact ['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].