Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugin/storage/cassandra/spanstore/operation_names.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (t *tableMeta) materialize() {
t.queryStmt = fmt.Sprintf(t.queryStmt, t.tableName)
}

var schemas = map[schemaVersion]*tableMeta{
var schemas = map[schemaVersion]tableMeta{
previousVersion: {
tableName: "operation_names",
insertStmt: "INSERT INTO %s(service_name, operation_name) VALUES (?, ?)",
Expand All @@ -90,7 +90,7 @@ var schemas = map[schemaVersion]*tableMeta{
type OperationNamesStorage struct {
// CQL statements are public so that Cassandra2 storage can override them
schemaVersion schemaVersion
table *tableMeta
table tableMeta
session cassandra.Session
writeCacheTTL time.Duration
metrics *casMetrics.Table
Expand Down