| Index: service/datastore/pls_impl.go
|
| diff --git a/service/datastore/pls_impl.go b/service/datastore/pls_impl.go
|
| index 0900f9106c51f032a5a15a2953e9953262f17d27..b5e945ccfb5224e545889feca88084247123f8a5 100644
|
| --- a/service/datastore/pls_impl.go
|
| +++ b/service/datastore/pls_impl.go
|
| @@ -205,9 +205,13 @@ func loadInner(codec *structCodec, structValue reflect.Value, index int, name st
|
| }
|
|
|
| func (p *structPLS) Save(withMeta bool) (PropertyMap, error) {
|
| + if err := p.Problem(); err != nil {
|
| + return nil, err
|
| + }
|
| +
|
| ret := PropertyMap(nil)
|
| if withMeta {
|
| - ret = p.GetAllMeta()
|
| + ret = getMGS(p.o.Addr().Interface()).GetAllMeta()
|
| } else {
|
| ret = make(PropertyMap, len(p.c.byName))
|
| }
|
|
|