Skip to content

Commit

Permalink
fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
ystaticy committed Sep 14, 2024
1 parent 33b9f32 commit 5cab5c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/keyspace/keyspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ const (
// configured to run a global gc worker to calculate a global gc safe point.
// If `gc_management_type` is `keyspace_level_gc` it means the current keyspace can calculate gc safe point by its own.
GCManagementType = "gc_management_type"
KeyspaceLevelGC = "keyspace_level_gc"
// KeyspaceLevelGC is a type of gc_management_type used to indicate that this keyspace independently advances its own gc safe point.
KeyspaceLevelGC = "keyspace_level_gc"
)

// Config is the interface for keyspace config.
Expand Down
2 changes: 1 addition & 1 deletion tests/integrations/client/http_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ func (suite *httpClientTestSuite) TestUpdateKeyspaceGCManagementType() {
GCManagementType: keyspace.KeyspaceLevelGC,
},
}
err = client.UpdateKeyspaceGCManagementType(env.ctx, keyspaceName, &keyspaceSafePointVersionConfig)
err = client.UpdateKeyspaceGCManagementType(suite.ctx, keyspaceName, &keyspaceSafePointVersionConfig)
re.Error(err)
}

Expand Down

0 comments on commit 5cab5c8

Please sign in to comment.