diff --git a/internal/api/config/pending.go b/internal/api/config/pending.go index 7860236..db437e3 100644 --- a/internal/api/config/pending.go +++ b/internal/api/config/pending.go @@ -30,3 +30,11 @@ func (c *Config) GetPendingChangelog(ctx context.Context, params struct{}) (GetP Changelog: log, }, nil } + +func (c *Config) ApplyPendingChanges(ctx context.Context, params struct{}) (struct{}, error) { + return struct{}{}, c.ConfigManager.ApplyPendingChanges() +} + +func (c *Config) DiscardPendingChanges(ctx context.Context, params struct{}) (struct{}, error) { + return struct{}{}, c.ConfigManager.DiscardPendingConfig() +}