revert SyncApplyCommand logging
This commit is contained in:
1 parent
238c7b3a44
commit
330c160122
1 file changed
+1
@@ -20,6 +20,7 @@ func EmitConn(conn ws.Conn, event string, args ...interface{}) {
|
||||
func SyncApplyCommand(command []byte, commandName string) (interface{}, error) {
|
||||
applyLogResponse, err := holder.ClusterClient.SyncApply(command)
|
||||
if err != nil {
|
||||
log.Warnf(codes.SyncApplyError, "apply %s: %v", commandName, err)
|
||||
return nil, err
|
||||
}
|
||||
if applyLogResponse != nil && applyLogResponse.ApplyError != "" {
|
||||
|
||||
Reference in new issue
Block a user