{"action":"opened","issue":{"url":"https://api.github.com/repos/alipay/sofa-mosn/issues/463","repository_url":"https://api.github.com/repos/alipay/sofa-mosn","labels_url":"https://api.github.com/repos/alipay/sofa-mosn/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/alipay/sofa-mosn/issues/463/comments","events_url":"https://api.github.com/repos/alipay/sofa-mosn/issues/463/events","html_url":"https://github.com/alipay/sofa-mosn/issues/463","id":394016418,"node_id":"MDU6SXNzdWUzOTQwMTY0MTg=","number":463,"title":"RegisterConfigParsedListener  can not append ParsedCallback","user":{"login":"JavanLu","id":3814942,"node_id":"MDQ6VXNlcjM4MTQ5NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/3814942?v=4","gravatar_id":"","url":"https://api.github.com/users/JavanLu","html_url":"https://github.com/JavanLu","followers_url":"https://api.github.com/users/JavanLu/followers","following_url":"https://api.github.com/users/JavanLu/following{/other_user}","gists_url":"https://api.github.com/users/JavanLu/gists{/gist_id}","starred_url":"https://api.github.com/users/JavanLu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavanLu/subscriptions","organizations_url":"https://api.github.com/users/JavanLu/orgs","repos_url":"https://api.github.com/users/JavanLu/repos","events_url":"https://api.github.com/users/JavanLu/events{/privacy}","received_events_url":"https://api.github.com/users/JavanLu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-25T12:41:51Z","updated_at":"2018-12-25T12:41:51Z","closed_at":null,"author_association":"NONE","body":"### Describe the bug\r\nhttps://github.com/alipay/sofa-mosn/blob/5efa87580c5fb1dcbc9aa169df7f6ebd87c12809/pkg/config/parser.go#L80\r\n\r\nthis code cann't work. \r\nit should be written below: \r\n\r\n       `if cbs, ok := configParsedCBMaps[key]; ok {\r\n\t\tcbs = append(cbs, cb)\r\n\t\t**configParsedCBMaps[key] = cbs**\r\n\t} else {\r\n\t\tlog.StartLogger.Infof(\"%s added to configParsedCBMaps\", key)\r\n\t\tcpc := []ParsedCallback{cb}\r\n\t\tconfigParsedCBMaps[key] = cpc\r\n\t}\r\n`"}}
{"actor":{"display_login":"JavanLu"}}