Skip to content

Commit 5bddfc5

Browse files
authored
Release/4.4.2 (#1349)
* fix database selection * release 4.4.2
1 parent 07724f4 commit 5bddfc5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cfn-templates/cid-cfn.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://github.com/aws-samples/aws-cudos-framework-deployment/blob/main/cfn-templates/cid-cfn.yml
22
AWSTemplateFormatVersion: '2010-09-09'
3-
Description: Deployment of Cloud Intelligence Dashboards v4.4.1 - AWS Solution SO9011
3+
Description: Deployment of Cloud Intelligence Dashboards v4.4.2 - AWS Solution SO9011
44
Metadata:
55
AWS::CloudFormation::Interface:
66
ParameterGroups:
@@ -2075,7 +2075,7 @@ Resources:
20752075
SourceBucket: !Ref ReferenceAssetsBucket
20762076
DestinationBucket: !Ref LocalAssetsBucket
20772077
Keys:
2078-
- 'cid-resource-lambda-layer/cid-4.4.1.zip' #replace version here if needed
2078+
- 'cid-resource-lambda-layer/cid-4.4.2.zip' #replace version here if needed
20792079

20802080
CidResourceLambdaLayer:
20812081
Type: AWS::Lambda::LayerVersion
@@ -2090,7 +2090,7 @@ Resources:
20902090
- LambdaLayerBucketPrefixIsManaged
20912091
- !FindInMap [RegionMap, !Ref 'AWS::Region', BucketName]
20922092
- !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}' # Region added for backward compatibility
2093-
S3Key: 'cid-resource-lambda-layer/cid-4.4.1.zip' #replace version here if needed
2093+
S3Key: 'cid-resource-lambda-layer/cid-4.4.2.zip' #replace version here if needed
20942094
CompatibleRuntimes:
20952095
- python3.10
20962096
- python3.11

cid/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = '4.4.1'
1+
__version__ = '4.4.2'
22

cid/helpers/cur.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def find_cur(self, database: str=None, table: str=None):
260260
res, message = self.table_is_cur(table=metadata, return_reason=True)
261261
if not res:
262262
raise CidCritical(f'Provided cur-table-name "{table}" in database "{cur_database or self.athena.DatabaseName}" is not cur. {message}')
263-
return cur_database, metadata
263+
return (cur_database or self.athena.DatabaseName), metadata
264264

265265
all_cur_tables = []
266266
filter_names = None

0 commit comments

Comments
 (0)