Skip to content

Commit

Permalink
Fix events from latest change in backend lib
Browse files Browse the repository at this point in the history
  • Loading branch information
vapopov committed Aug 22, 2024
1 parent 99a9e7e commit 70b7c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/services/local/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ func (p *clusterNameParser) parse(event backend.Event) (types.Resource, error) {

func newAutoupdateConfigParser() *autoupdateConfigParser {
return &autoupdateConfigParser{
baseParser: newBaseParser(backend.Key(autoupdateConfigPrefix)),
baseParser: newBaseParser(backend.NewKey(autoupdateConfigPrefix)),
}
}

Expand Down Expand Up @@ -743,7 +743,7 @@ func (p *autoupdateConfigParser) parse(event backend.Event) (types.Resource, err

func newAutoupdateVersionParser() *autoupdateVersionParser {
return &autoupdateVersionParser{
baseParser: newBaseParser(backend.Key(autoupdateVersionPrefix)),
baseParser: newBaseParser(backend.NewKey(autoupdateVersionPrefix)),
}
}

Expand Down

0 comments on commit 70b7c54

Please sign in to comment.