Преглед изворни кода

fix(exhook): change default value to CONTINUE

JianBo He пре 4 година
родитељ
комит
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 {
 
   // 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;
   }