Skip to content

Commit e7e5545

Browse files
committed
Relax validation
1 parent 60fb338 commit e7e5545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ func (b *buffer) At(ts time.Time, sendTs bool) error {
898898
b.DiscardPendingMsg()
899899
return fmt.Errorf("table name was not provided: %w", errInvalidMsg)
900900
}
901-
if !b.hasTags && !b.hasFields {
901+
if !b.hasTags && !b.hasFields && !sendTs {
902902
b.DiscardPendingMsg()
903903
return fmt.Errorf("no symbols or columns were provided: %w", errInvalidMsg)
904904
}

0 commit comments

Comments
 (0)