summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/decode.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/state/decode.go')
-rw-r--r--pkg/state/decode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/state/decode.go b/pkg/state/decode.go
index 05758495b..33ec926c7 100644
--- a/pkg/state/decode.go
+++ b/pkg/state/decode.go
@@ -335,7 +335,7 @@ func (ds *decodeState) decodeObject(os *objectState, obj reflect.Value, object *
case *pb.Object_BoolValue:
obj.SetBool(x.BoolValue)
case *pb.Object_StringValue:
- obj.SetString(x.StringValue)
+ obj.SetString(string(x.StringValue))
case *pb.Object_Int64Value:
obj.SetInt(x.Int64Value)
if obj.Int() != x.Int64Value {