diff --git a/.tool/lint b/.tool/lint index 121a8fdf..2f0144ad 100755 --- a/.tool/lint +++ b/.tool/lint @@ -20,5 +20,5 @@ for d in $(find . -type d -not -iwholename '*.git*' -a -not -iname '.tool' -a -n --disable=gas \ --cyclo-over=50 \ --tests \ - --deadline=10s "${d}" + --deadline=30s "${d}" done diff --git a/server/utils.go b/server/utils.go index 12bdc020..e7413fcf 100644 --- a/server/utils.go +++ b/server/utils.go @@ -33,7 +33,7 @@ func sPtr(s string) *string { func getGPRCVersion() (string, error) { _, file, _, ok := runtime.Caller(0) if !ok { - return "", errors.New("failed to recover the caller information.") + return "", errors.New("failed to recover the caller information") } ocidRoot := filepath.Dir(filepath.Dir(file))