Susumu Yata
null+****@clear*****
Tue Sep 12 16:40:15 JST 2017
Susumu Yata 2017-09-12 16:40:15 +0900 (Tue, 12 Sep 2017) New Revision: 943ac2badf3f1654bbbc87d0bb0186863348c3a1 https://github.com/groonga/grnci/commit/943ac2badf3f1654bbbc87d0bb0186863348c3a1 Message: Return nil instead of err because it is always nil. Modified files: v2/db.go Modified: v2/db.go (+2 -1) =================================================================== --- v2/db.go 2017-09-12 16:31:23 +0900 (e34cc73) +++ v2/db.go 2017-09-12 16:40:15 +0900 (d8df58d) @@ -426,7 +426,8 @@ func (db *DB) Dump(options *DBDumpOptions) (io.ReadCloser, error) { if err != nil { return nil, err } - return resp, err + // Note that a dump command never returns an error response. + return resp, nil } // DBIOFlushOptions stores options for DB.IOFlush. -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170912/8b25f5dd/attachment-0001.htm