Ver código fonte

fix(exhook): change default value to CONTINUE

JianBo He 4 anos atrás
pai
commit
78cdfdf0df
1 arquivos alterados com 3 adições e 3 exclusões
  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 {
 
   // The responsed value type
-  //  - ignore: Ignore the responsed value
   //  - 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
   enum ResponsedType {
 
-    IGNORE = 0;
+    CONTINUE = 0;
 
-    CONTINUE = 1;
+    IGNORE = 1;
 
     STOP_AND_RETURN = 2;
   }