Commit 1db8e8d2 by 毛树良

<fix>:判断任务是否需要被重新构建完善

1 parent 3ac5ed89
......@@ -52,7 +52,7 @@ public enum TaskUtils {
* @param present 现在的任务信息
*/
public boolean needRebuild(Task original, Task present) {
return (!Objects.equals(original.getRuntimeConf(), equals(present.getRuntimeConf())))
return (!Objects.equals(original.getRuntimeConf(), present.getRuntimeConf()))
|| (!Objects.equals(original.getStoreConfigId(), present.getStoreConfigId()))
|| (!Objects.equals(original.getResourceNeed(), present.getResourceNeed()))
|| (!Objects.equals(original.getVaType(), present.getVaType()));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!