Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions pkg/addon-operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,6 @@ func WithLogger(logger *log.Logger) Option {
}
}

func WithOnConvergeStart(callback func()) Option {
return func(operator *AddonOperator) {
operator.ConvergeState.SetOnConvergeStart(callback)
}
}

func WithOnConvergeFinish(callback func()) Option {
return func(operator *AddonOperator) {
operator.ConvergeState.SetOnConvergeFinish(callback)
}
}

func NewAddonOperator(ctx context.Context, metricsStorage, hookMetricStorage metricsstorage.Storage, opts ...Option) *AddonOperator {
cctx, cancel := context.WithCancel(ctx)

Expand Down
2 changes: 1 addition & 1 deletion pkg/helm/nelm/nelm.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ func (c *NelmClient) Render(releaseName, modulePath string, valuesPaths, setValu

var result strings.Builder
for _, resource := range chartRenderResult.Resources {
b, err := yaml.Marshal(resource)
b, err := yaml.Marshal(resource.Unstruct)
if err != nil {
return "", fmt.Errorf("marshal resource: %w", err)
}
Expand Down
Loading