Просмотр исходного кода

fix(exhook): change default value to CONTINUE

JianBo He 4 лет назад
Родитель
Сommit
78cdfdf0df
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      apps/emqx_exhook/priv/protos/exhook.proto

+ 3 - 3
apps/emqx_exhook/priv/protos/exhook.proto

@@ -237,14 +237,14 @@ message EmptySuccess { }
 message ValuedResponse {
 message ValuedResponse {
 
 
   // The responsed value type
   // The responsed value type
-  //  - ignore: Ignore the responsed value
   //  - contiune: Use the responsed value and execute the next hook
   //  - contiune: Use the responsed value and execute the next hook
+  //  - ignore: Ignore the responsed value
   //  - stop_and_return: Use the responsed value and stop the chain executing
   //  - stop_and_return: Use the responsed value and stop the chain executing
   enum ResponsedType {
   enum ResponsedType {
 
 
-    IGNORE = 0;
+    CONTINUE = 0;
 
 
-    CONTINUE = 1;
+    IGNORE = 1;
 
 
     STOP_AND_RETURN = 2;
     STOP_AND_RETURN = 2;
   }
   }