dubeejw closed pull request #53: Fix typos/grammar in trace source file.
URL: https://github.com/apache/incubator-openwhisk-client-go/pull/53
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/whisk/trace.go b/whisk/trace.go
index 26f7c804..e3ba7e28 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() {
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services