responses to code review

- field rename to be more properly generic
 - drop rewrite of main.main
This commit is contained in:
Dave Clendenan
2016-12-06 12:53:21 -08:00
parent d8fd23467c
commit 88dd8df1f8
7 changed files with 50 additions and 49 deletions
+1 -5
View File
@@ -138,11 +138,7 @@ func getCaller() (method string) {
// If the caller isn't part of this package, we're done
if pkg != logrusPackage {
if fullFuncName == "main.main" {
return "main"
} else {
return fullFuncName
}
return fullFuncName
}
}