@@ -137,9 +137,6 @@ int RedisAI_TensorGet_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv
137
137
*/
138
138
int RedisAI_ModelSet_RedisCommand (RedisModuleCtx * ctx , RedisModuleString * * argv , int argc ) {
139
139
140
- RedisModule_Log (ctx , "warning" ,
141
- "AI.MODELSET command is deprecated and will"
142
- " not be available in future version, you can use AI.MODELSTORE instead" );
143
140
return ModelSetCommand (ctx , argv , argc );
144
141
}
145
142
@@ -704,9 +701,6 @@ int RedisAI_ScriptDel_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv
704
701
* AI.SCRIPTSET script_key device [TAG tag] SOURCE script_source
705
702
*/
706
703
int RedisAI_ScriptSet_RedisCommand (RedisModuleCtx * ctx , RedisModuleString * * argv , int argc ) {
707
- RedisModule_Log (ctx , "warning" ,
708
- "AI.SCRIPTSET command is deprecated and will"
709
- " not be available in future version, you can use AI.SCRIPTSTORE instead" );
710
704
return ScriptSetCommand (ctx , argv , argc );
711
705
}
712
706
@@ -953,16 +947,9 @@ int RedisAI_Config_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, i
953
947
*/
954
948
int RedisAI_DagRun_RedisCommand (RedisModuleCtx * ctx , RedisModuleString * * argv , int argc ) {
955
949
if (IsEnterprise ()) {
956
- RedisModule_Log (ctx , "warning" ,
957
- "AI.DAGRUN command is deprecated and cannot be used in "
958
- "enterprise cluster, use AI.DAGEXECUTE instead" );
959
950
return RedisModule_ReplyWithError (
960
951
ctx , "ERR AI.DAGRUN command is deprecated and cannot be used in "
961
952
"enterprise cluster, use AI.DAGEXECUTE instead" );
962
- } else {
963
- RedisModule_Log (ctx , "warning" ,
964
- "AI.DAGRUN command is deprecated and will"
965
- " not be available in future version, you can use AI.DAGEXECUTE instead" );
966
953
}
967
954
if (RedisModule_IsKeysPositionRequest (ctx )) {
968
955
return RedisAI_DagExecute_IsKeysPositionRequest_ReportKeys (ctx , argv , argc );
@@ -998,16 +985,9 @@ int RedisAI_DagExecute_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **arg
998
985
*/
999
986
int RedisAI_DagRunRO_RedisCommand (RedisModuleCtx * ctx , RedisModuleString * * argv , int argc ) {
1000
987
if (IsEnterprise ()) {
1001
- RedisModule_Log (ctx , "warning" ,
1002
- "AI.DAGRUN_RO command is deprecated and cannot be used in "
1003
- "enterprise cluster, use AI.DAGEXECUTE_RO instead" );
1004
988
return RedisModule_ReplyWithError (
1005
989
ctx , "ERR AI.DAGRUN_RO command is deprecated and cannot be used in "
1006
- "enterprise cluster, use AI.DAGEXECUTE instead" );
1007
- } else {
1008
- RedisModule_Log (ctx , "warning" ,
1009
- "AI.DAGRUN_RO command is deprecated and will"
1010
- " not be available in future version, you can use AI.DAGEXECUTE instead" );
990
+ "enterprise cluster, use AI.DAGEXECUTE_RO instead" );
1011
991
}
1012
992
if (RedisModule_IsKeysPositionRequest (ctx )) {
1013
993
return RedisAI_DagExecute_IsKeysPositionRequest_ReportKeys (ctx , argv , argc );
0 commit comments