diff --git a/go/pkg/client/table_stub.go b/go/pkg/client/table_stub.go index c48dd11464f..e66c6da3d18 100644 --- a/go/pkg/client/table_stub.go +++ b/go/pkg/client/table_stub.go @@ -217,7 +217,7 @@ func (ts *tableStub) TimeTable(ctx context.Context, period any, startTime any) ( } else if val, ok := period.(string); ok { req.Period = &tablepb2.TimeTableRequest_PeriodString{PeriodString: val} } else { - return nil, fmt.Errorf("expected period of signed integer type, time.Duration or string, found %T", period) + return nil, fmt.Errorf("expected period of type signed integer, time.Duration or string, found %T", period) } timeVal := reflect.ValueOf(startTime)