Commit eb2ebf58d91e06961b51ef4ad281fdff1e7a9026

Authored by Volodymyr Babak
1 parent 7ec1e369

Fixed comp issue

... ... @@ -5,7 +5,7 @@
5 5 * you may not use this file except in compliance with the License.
6 6 * You may obtain a copy of the License at
7 7 *
8   - * http://www.apache.org/licenses/LICENSE-2.0
  8 + * http://www.apache.org/licenses/LICENSE-2.0
9 9 *
10 10 * Unless required by applicable law or agreed to in writing, software
11 11 * distributed under the License is distributed on an "AS IS" BASIS,
... ...
... ... @@ -230,7 +230,7 @@ public class DefaultInitEdgeService implements InitEdgeService {
230 230 for (RuleChain ruleChain : pageData.getData()) {
231 231 RuleChainUpdateMsg ruleChainUpdateMsg =
232 232 ruleChainUpdateMsgConstructor.constructRuleChainUpdatedMsg(
233   - edge,
  233 + edge.getRootRuleChainId(),
234 234 UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE,
235 235 ruleChain);
236 236 EntityUpdateMsg entityUpdateMsg = EntityUpdateMsg.newBuilder()
... ...
  1 +/**
  2 + * Copyright © 2016-2020 The Thingsboard Authors
  3 + *
  4 + * Licensed under the Apache License, Version 2.0 (the "License");
  5 + * you may not use this file except in compliance with the License.
  6 + * You may obtain a copy of the License at
  7 + *
  8 + * http://www.apache.org/licenses/LICENSE-2.0
  9 + *
  10 + * Unless required by applicable law or agreed to in writing, software
  11 + * distributed under the License is distributed on an "AS IS" BASIS,
  12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing permissions and
  14 + * limitations under the License.
  15 + */
1 16 package org.thingsboard.server.common.data;
2 17
3 18 import org.thingsboard.server.common.data.id.EdgeId;
... ...