Skip to content

Commit d1620d7

Browse files
committed
lintfix
1 parent 3f4aae8 commit d1620d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/diag/db/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func printDBsInfo(data []DBInfo) {
186186
}
187187

188188
func AllDBsInfo(cliCtx *cli.Context) ([]DBInfo, error) {
189-
var data []DBInfo = make([]DBInfo, 0)
189+
data := make([]DBInfo, 0)
190190

191191
dbsNames, err := getAllDbsNames(cliCtx)
192192
if err != nil {

0 commit comments

Comments
 (0)