address spacing issues
This commit is contained in:
parent
92798b9a9f
commit
ed06658271
@ -101,12 +101,14 @@ class SnapshotCopyDisabledFaultError(RedshiftClientError):
|
||||
'SnapshotCopyDisabledFault',
|
||||
"Cannot modify retention period because snapshot copy is disabled on Cluster {0}.".format(cluster_identifier))
|
||||
|
||||
|
||||
class SnapshotCopyAlreadyDisabledFaultError(RedshiftClientError):
|
||||
def __init__(self, cluster_identifier):
|
||||
super(SnapshotCopyAlreadyDisabledFaultError, self).__init__(
|
||||
'SnapshotCopyAlreadyDisabledFault',
|
||||
"Snapshot Copy is already disabled on Cluster {0}.".format(cluster_identifier))
|
||||
|
||||
|
||||
class SnapshotCopyAlreadyEnabledFaultError(RedshiftClientError):
|
||||
def __init__(self, cluster_identifier):
|
||||
super(SnapshotCopyAlreadyEnabledFaultError, self).__init__(
|
||||
|
@ -226,7 +226,6 @@ class Cluster(TaggableResourceMixin, BaseModel):
|
||||
"NodeType": self.node_type,
|
||||
"ClusterIdentifier": self.cluster_identifier,
|
||||
"AllowVersionUpgrade": self.allow_version_upgrade,
|
||||
|
||||
"Endpoint": {
|
||||
"Address": self.endpoint,
|
||||
"Port": self.port
|
||||
|
@ -1090,6 +1090,7 @@ def test_disable_snapshot_copy():
|
||||
response = client.describe_clusters(ClusterIdentifier='test')
|
||||
response['Clusters'][0].shouldnt.contain('ClusterSnapshotCopyStatus')
|
||||
|
||||
|
||||
@mock_redshift
|
||||
def test_modify_snapshot_copy_retention_period():
|
||||
client = boto3.client('redshift', region_name='us-east-1')
|
||||
|
Loading…
Reference in New Issue
Block a user