Skip to content

Commit

Permalink
Merge pull request #225 from cathaysia/cathaysia-v2-update
Browse files Browse the repository at this point in the history
feat(v2): add Update method for v2.Manager
  • Loading branch information
estesp authored Mar 17, 2022
2 parents 2e502f6 + 0592512 commit f8328fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v2/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ func (c *Manager) Controllers() ([]string, error) {
return strings.Fields(string(b)), nil
}

func (c *Manager) Update(resources *Resources) error {
return setResources(c.path, resources)
}

type ControllerToggle int

const (
Expand Down

0 comments on commit f8328fd

Please sign in to comment.