summaryrefslogtreecommitdiffstats
path: root/src/ncm/pkg/module/netcontrolintent.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/ncm/pkg/module/netcontrolintent.go')
-rw-r--r--src/ncm/pkg/module/netcontrolintent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ncm/pkg/module/netcontrolintent.go b/src/ncm/pkg/module/netcontrolintent.go
index c005a935..da8f9a85 100644
--- a/src/ncm/pkg/module/netcontrolintent.go
+++ b/src/ncm/pkg/module/netcontrolintent.go
@@ -281,7 +281,7 @@ func (v *NetControlIntentClient) ApplyNetControlIntent(name, project, compositea
}
// Update resource in AppContext
- err = context.UpdateResourceValue(rh, string(y))
+ err = context.UpdateResourceValue(rh, y)
if err != nil {
log.Error("Network updating app context resource handle", log.Fields{
"error": err,