Skip to content

Commit ad25c11

Browse files
Merge pull request #58 from echen-98/regenerate-code
Add CacheClusterNotFound terminal code
2 parents 619f8d4 + e6281dd commit ad25c11

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

Diff for: apis/v1alpha1/ack-generate-metadata.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-09-13T18:13:33Z"
3-
build_hash: c6e8ce29423336f827d2ca5c737595561c84539c
2+
build_date: "2021-09-16T23:00:17Z"
3+
build_hash: e4d2ea41769ef5eda245946f462ef7c1c6840409
44
go_version: go1.15.2
5-
version: v0.13.2
5+
version: v0.14.0
66
api_directory_checksum: 69c917d1e1ee2b196c23799a02417b920297bc74
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.52
99
generator_config_info:
10-
file_checksum: 68bcd4be3880f0774c1a4b02a56da6caff19a87e
10+
file_checksum: 261e03a6b9fb25805b045293947f13e5674d2924
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

Diff for: apis/v1alpha1/generator.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ resources:
3636
- InvalidCacheSecurityGroupState
3737
- CacheParameterGroupNotFound
3838
- InvalidKMSKeyFault
39+
- CacheClusterNotFound
3940
fields:
4041
AllowedScaleUpModifications:
4142
is_read_only: true

Diff for: generator.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ resources:
3636
- InvalidCacheSecurityGroupState
3737
- CacheParameterGroupNotFound
3838
- InvalidKMSKeyFault
39+
- CacheClusterNotFound
3940
fields:
4041
AllowedScaleUpModifications:
4142
is_read_only: true

Diff for: helm/templates/metrics-service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v1
33
kind: Service
44
metadata:
5-
name: {{ include "app.fullname" . }}-metrics
5+
name: {{ .Chart.Name | trimSuffix "-chart" | trunc 44 }}-controller-metrics
66
namespace: {{ .Release.Namespace }}
77
labels:
88
app.kubernetes.io/name: {{ include "app.name" . }}

Diff for: pkg/resource/replication_group/sdk.go

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: test/e2e/tests/test_replicationgroup.py

-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@ def test_rg_cmd_fromsnapshot(self, rg_cmd_fromsnapshot):
402402
assert k8s.wait_on_condition(reference, "ACK.ResourceSynced", "True", wait_periods=30)
403403

404404
# if primaryClusterID is a nonexistent node, the terminal condition should be set
405-
@pytest.mark.blocked # TODO: remove when passing
406405
def test_rg_invalid_primary(self, rg_invalid_primary):
407406
(reference, _) = rg_invalid_primary
408407
sleep(DEFAULT_WAIT_SECS)

0 commit comments

Comments
 (0)