fix empty else

This commit is contained in:
tangbin
2020-07-22 17:30:46 +08:00
parent 3ff402f4b6
commit d5591001cc
-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")