Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <kpango@vdaas.org>
  • Loading branch information
kpango committed Sep 10, 2024
1 parent 3ccb1f6 commit 03a27e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion internal/errors/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var (

// ErrInvalidTimestamp represents a function to generate an error that the timestamp is invalid.
ErrInvalidTimestamp = func(ts int64) error {
return Errorf("invalid timestamp detected", ts)
return Errorf("invalid timestamp detected: %d", ts)

Check warning on line 121 in internal/errors/agent.go

View check run for this annotation

Codecov / codecov/patch

internal/errors/agent.go#L120-L121

Added lines #L120 - L121 were not covered by tests
}

// ErrFlushingIsInProgress represents an error that the flushing is in progress, but any request has been received.
Expand Down
1 change: 0 additions & 1 deletion pkg/agent/core/ngt/service/ngt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import (
core "github.com/vdaas/vald/internal/core/algorithm/ngt"
"github.com/vdaas/vald/internal/errors"
"github.com/vdaas/vald/internal/file"
"github.com/vdaas/vald/internal/k8s/vald"
kvald "github.com/vdaas/vald/internal/k8s/vald"
"github.com/vdaas/vald/internal/log"
"github.com/vdaas/vald/internal/net/grpc"
Expand Down

0 comments on commit 03a27e2

Please sign in to comment.