File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ type SecretHashes struct {
3838
3939// Equal compares two SecretHashes
4040func (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 {
4442 return true
43+ } else if sh == nil || other == nil {
44+ return false
4545 }
4646
4747 return sh .AuthJWT == other .AuthJWT &&
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ type SecretHashes struct {
3838
3939// Equal compares two SecretHashes
4040func (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 {
4442 return true
43+ } else if sh == nil || other == nil {
44+ return false
4545 }
4646
4747 return sh .AuthJWT == other .AuthJWT &&
Original file line number Diff line number Diff line change @@ -28,4 +28,5 @@ const (
2828 RemoteDeploymentReadyCondition api.ConditionType = "RemoteDeploymentReadyCondition"
2929 RemoteCacheReadyCondition api.ConditionType = "RemoteCacheReady"
3030 ConnectionReadyCondition api.ConditionType = "ConnectionReady"
31+ ACSDeploymentSyncedCondition api.ConditionType = "ACSDeploymentSynced"
3132)
You can’t perform that action at this time.
0 commit comments