Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix bug in SDNC, read controller info from yaml
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
tasks
/
RepositorySupervision.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/tasks/RepositorySupervision.java
b/policy-agent/src/main/java/org/oransc/policyagent/tasks/RepositorySupervision.java
index
022ca0f
..
d95272b
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/tasks/RepositorySupervision.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/tasks/RepositorySupervision.java
@@
-100,9
+100,9
@@
public class RepositorySupervision {
}
private Mono<RicData> checkRicState(RicData ric) {
}
private Mono<RicData> checkRicState(RicData ric) {
- if (ric.ric.
s
tate() == RicState.UNDEFINED) {
+ if (ric.ric.
getS
tate() == RicState.UNDEFINED) {
return startRecovery(ric);
return startRecovery(ric);
- } else if (ric.ric.
s
tate() == RicState.RECOVERING) {
+ } else if (ric.ric.
getS
tate() == RicState.RECOVERING) {
return Mono.empty();
} else {
return Mono.just(ric);
return Mono.empty();
} else {
return Mono.just(ric);