Skip to content

Commit

Permalink
Set settingkey
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Apr 9, 2024
1 parent 3ec093e commit f949938
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cli/src/commands/pg/settings/log-lock-waits.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Args} from '@oclif/core'
import heredoc from 'tsheredoc'
import {PGSettingsCommand, type Setting, booleanConverter} from '../../../lib/pg/setter'
import {PGSettingsCommand, type Setting, booleanConverter, SettingKey} from '../../../lib/pg/setter'

export default class LogLockWaits extends PGSettingsCommand {
static topic = 'pg'
static description = heredoc(`
Expand All @@ -14,7 +15,7 @@ export default class LogLockWaits extends PGSettingsCommand {
value: Args.string(),
}

protected settingsName = 'log_lock_waits'
protected settingKey: SettingKey = 'log_lock_waits'

protected convertValue(val: boolean): boolean {
return booleanConverter(val)
Expand Down

0 comments on commit f949938

Please sign in to comment.