plancontext cleanup

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-12-07 14:20:08 -05:00
parent c881bc2dba
commit a58ca16c3d
8 changed files with 9 additions and 9 deletions

View File

@@ -193,7 +193,7 @@ type secretInput string
func (i secretInput) Compile(st *State) (*compiler.Value, error) {
secret := st.Context.Secrets.New(i.PlainText())
return secret.Value(), nil
return secret.MarshalCUE(), nil
}
func (i secretInput) PlainText() string {
@@ -296,5 +296,5 @@ type socketInput struct {
func (i socketInput) Compile(st *State) (*compiler.Value, error) {
service := st.Context.Services.New(i.Unix, i.Npipe)
return service.Value(), nil
return service.MarshalCUE(), nil
}