You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/10 12:06:30 UTC

[GitHub] [apisix-dashboard] bzp2010 commented on a change in pull request #2160: feat: add Type function to store interface

bzp2010 commented on a change in pull request #2160:
URL: https://github.com/apache/apisix-dashboard/pull/2160#discussion_r725628572



##########
File path: api/internal/core/store/store.go
##########
@@ -106,7 +108,7 @@ func (s *GenericStore) Init() error {
 		key := ret[i].Key[len(s.opt.BasePath)+1:]
 		objPtr, err := s.StringToObjPtr(ret[i].Value, key)
 		if err != nil {
-			fmt.Fprintln(os.Stderr, "Error occurred while initializing logical store: ", s.opt.BasePath)
+			_, _ = fmt.Fprintln(os.Stderr, "Error occurred while initializing logical store: ", s.opt.BasePath)

Review comment:
       Because my IDE thinks it has error output that is not explicitly handled. So it was automatically corrected. XD
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org