encode_json("owner", owner, f);
encode_json("flags", flags, f);
encode_json("region", region, f);
- encode_json("placement_rule", region, f);
+ encode_json("placement_rule", placement_rule, f);
encode_json("has_instance_obj", has_instance_obj, f);
}
JSONDecoder::decode_json("owner", owner, obj);
JSONDecoder::decode_json("flags", flags, obj);
JSONDecoder::decode_json("region", region, obj);
- JSONDecoder::decode_json("placement_rule", region, obj);
+ JSONDecoder::decode_json("placement_rule", placement_rule, obj);
JSONDecoder::decode_json("has_instance_obj", has_instance_obj, obj);
}