Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Write Consul state latest-events to the correct jobgroup key.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell committed Aug 29, 2019
1 parent 39ccd30 commit 7844d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/state/scale/consul/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (s StateBackend) PutScalingEvent(job string, event *state.ScalingEventMessa

// Write the new event to the latest store.
lePair := &api.KVPair{
Key: fmt.Sprintf("%s%s/%s:%s", s.latestEventsPath, event.ID.String(), job, event.GroupName),
Key: fmt.Sprintf("%s%s:%s", s.latestEventsPath, job, event.GroupName),
Value: marshal,
}
_, err = s.kv.Put(lePair, nil)
Expand Down

0 comments on commit 7844d9d

Please sign in to comment.