Skip to content

Commit

Permalink
update: [schedule] node_id change to node
Browse files Browse the repository at this point in the history
  • Loading branch information
kainonly committed Aug 24, 2023
1 parent 5658975 commit 075c0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule/bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ func UseJetStream(nc *nats.Conn) (nats.JetStreamContext, error) {

func UseKeyValue(values *common.Values, js nats.JetStreamContext) (nats.KeyValue, error) {
return js.CreateKeyValue(&nats.KeyValueConfig{
Bucket: fmt.Sprintf(`%s_schedules_%s`, values.Namespace, values.Id),
Bucket: fmt.Sprintf(`%s_schedules_%s`, values.Namespace, values.Node),
})
}

0 comments on commit 075c0a7

Please sign in to comment.