You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2022/08/18 08:18:45 UTC
[incubator-devlake] 06/07: perf: added nil for error handling
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit e375da291b1d54f193011f172f62a53430954090
Author: PRANSHU RAJ <50...@users.noreply.github.com>
AuthorDate: Fri Jul 22 16:55:49 2022 +0530
perf: added nil for error handling
changed err to nil
---
plugins/tapd/api/connection.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/tapd/api/connection.go b/plugins/tapd/api/connection.go
index 415df7cb..1120ddbb 100644
--- a/plugins/tapd/api/connection.go
+++ b/plugins/tapd/api/connection.go
@@ -167,5 +167,5 @@ func GetConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error
if err != nil {
return nil,err
}
- return &core.ApiResourceOutput{Body: connection}, nil
+ return &core.ApiResourceOutput{Body: connection},nil
}