fix empty else

This commit is contained in:
tangbin
2020-07-22 17:50:46 +08:00
parent 0b7ab48836
commit 6280ea485d
-2
View File
@@ -230,8 +230,6 @@ func (mh *MiscHandler) DoBatchHostRegister(ctx context.Context, w http.ResponseW
if e != nil {
httperrors.JsonClientError(w, e)
return
} else {
}
hosts.WriteString(strings.Join(row, ",") + "\n")