diff --git a/internal/plugin/runtime_subprocess.go b/internal/plugin/runtime_subprocess.go index 6961d1fa5..a1a698679 100644 --- a/internal/plugin/runtime_subprocess.go +++ b/internal/plugin/runtime_subprocess.go @@ -242,7 +242,7 @@ func (r *SubprocessPluginRuntime) runPostrenderer(input *Input) (*Output, error) } return &Output{ - Message: &schema.OutputMessagePostRendererV1{ + Message: schema.OutputMessagePostRendererV1{ Manifests: postRendered, }, }, nil diff --git a/pkg/postrenderer/postrenderer.go b/pkg/postrenderer/postrenderer.go index 2107cc465..ed6699c32 100644 --- a/pkg/postrenderer/postrenderer.go +++ b/pkg/postrenderer/postrenderer.go @@ -73,7 +73,7 @@ func (r *postRendererPlugin) Run(renderedManifests *bytes.Buffer) (*bytes.Buffer return nil, fmt.Errorf("failed to invoke post-renderer plugin %q: %w", r.plugin.Metadata().Name, err) } - outputMessage := output.Message.(*schema.OutputMessagePostRendererV1) + outputMessage := output.Message.(schema.OutputMessagePostRendererV1) // If the binary returned almost nothing, it's likely that it didn't // successfully render anything