Skip to content
Snippets Groups Projects
Commit 1a514653 authored by 邹毅贤's avatar 邹毅贤
Browse files

fix review problems

parent ed580c62
No related branches found
No related tags found
No related merge requests found
......@@ -80,10 +80,8 @@ func getChangeType(change agollo.ConfigChangeType) remoting.EventType {
return remoting.EventTypeAdd
case agollo.DELETED:
return remoting.EventTypeDel
case agollo.MODIFIED:
return remoting.EventTypeUpdate
default:
panic("unknown type: " + strconv.Itoa(int(change)))
return remoting.EventTypeUpdate
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment