File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 8
8
- (Feature) Allow raw json value for license token-v2
9
9
- (Update) Replace ` beta.kubernetes.io/arch ` to ` kubernetes.io/arch ` in Operator Chart
10
10
- (Feature) Add operator shutdown handler for graceful termination
11
+ - (Feature) Add ` ACSDeploymentSynced ` condition type and fix comparison of ` SecretHashes ` method
11
12
12
13
## [ 1.2.12] ( https://github.com/arangodb/kube-arangodb/tree/1.2.12 ) (2022-05-10)
13
14
- (Feature) Add CoreV1 Endpoints Inspector
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ type SecretHashes struct {
38
38
39
39
// Equal compares two SecretHashes
40
40
func (sh * SecretHashes ) Equal (other * SecretHashes ) bool {
41
- if sh == nil || other == nil {
42
- return false
43
- } else if sh == other {
41
+ if sh == nil && other == nil {
44
42
return true
43
+ } else if sh == nil || other == nil {
44
+ return false
45
45
}
46
46
47
47
return sh .AuthJWT == other .AuthJWT &&
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ type SecretHashes struct {
38
38
39
39
// Equal compares two SecretHashes
40
40
func (sh * SecretHashes ) Equal (other * SecretHashes ) bool {
41
- if sh == nil || other == nil {
42
- return false
43
- } else if sh == other {
41
+ if sh == nil && other == nil {
44
42
return true
43
+ } else if sh == nil || other == nil {
44
+ return false
45
45
}
46
46
47
47
return sh .AuthJWT == other .AuthJWT &&
Original file line number Diff line number Diff line change @@ -28,4 +28,5 @@ const (
28
28
RemoteDeploymentReadyCondition api.ConditionType = "RemoteDeploymentReadyCondition"
29
29
RemoteCacheReadyCondition api.ConditionType = "RemoteCacheReady"
30
30
ConnectionReadyCondition api.ConditionType = "ConnectionReady"
31
+ ACSDeploymentSyncedCondition api.ConditionType = "ACSDeploymentSynced"
31
32
)
You can’t perform that action at this time.
0 commit comments