diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-06-19 14:05:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 14:05:03 +0100 |
commit | bc382bba4623a1c7ae16535541f2f4b23708999c (patch) | |
tree | 9149778f259732f866b5265f531a10158dd2eceb /common/partition_offset_table.go | |
parent | 7a2d5b17b98172b11ebcf2aa260745d0dccb2a1a (diff) |
Fix pipeline, emoji and syntax (#713)
Fixes #697
Switched to golangci-lint, fixes issues with buildkite and does some linting fixes to appease the new linters.
Diffstat (limited to 'common/partition_offset_table.go')
-rw-r--r-- | common/partition_offset_table.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/partition_offset_table.go b/common/partition_offset_table.go index bb23755c..bf37e2ed 100644 --- a/common/partition_offset_table.go +++ b/common/partition_offset_table.go @@ -50,7 +50,6 @@ type PartitionOffsetStatements struct { // Prepare converts the raw SQL statements into prepared statements. // Takes a prefix to prepend to the table name used to store the partition offsets. // This allows multiple components to share the same database schema. -// nolint: safesql func (s *PartitionOffsetStatements) Prepare(db *sql.DB, prefix string) (err error) { _, err = db.Exec(strings.Replace(partitionOffsetsSchema, "${prefix}", prefix, -1)) if err != nil { |