Skip to content

Commit dd60983

Browse files
authored
master-main (#103)
1 parent 40ea420 commit dd60983

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--- Please remember to review the [contribution guidelines](https://github.com/DataDog/datadog-lambda-python/blob/master/CONTRIBUTING.md) if you have not yet done so._ --->
1+
<!--- Please remember to review the [contribution guidelines](https://github.com/DataDog/datadog-lambda-python/blob/main/CONTRIBUTING.md) if you have not yet done so._ --->
22

33
### What does this PR do?
44

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Make your change, update tests and ensure the tests pass (install Docker if you
1616

1717
Push to your fork and [submit a pull request][pr].
1818

19-
[pr]: https://github.com/your-username/datadog-lambda-python/compare/DataDog:master...master
19+
[pr]: https://github.com/your-username/datadog-lambda-python/compare/DataDog:main...main
2020

2121
At this point you're waiting on us. We may suggest some changes or improvements or alternatives.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![PyPI](https://img.shields.io/pypi/v/datadog-lambda)](https://pypi.org/project/datadog-lambda/)
55
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/datadog-lambda)
66
[![Slack](https://img.shields.io/badge/slack-%23serverless-blueviolet?logo=slack)](https://datadoghq.slack.com/channels/serverless/)
7-
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/DataDog/datadog-lambda-python/blob/master/LICENSE)
7+
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/DataDog/datadog-lambda-python/blob/main/LICENSE)
88

99
Datadog Lambda Library for Python (2.7, 3.6, 3.7 and 3.8) enables enhanced Lambda metrics, distributed tracing, and custom metric submission from AWS Lambda functions.
1010

@@ -40,7 +40,7 @@ Check out the official documentation on [Datadog Lambda enhanced metrics](https:
4040

4141
### DD_FLUSH_TO_LOG
4242

43-
Set to `true` (recommended) to send custom metrics asynchronously (with no added latency to your Lambda function executions) through CloudWatch Logs with the help of [Datadog Forwarder](https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring). Defaults to `false`. If set to `false`, you also need to set `DD_API_KEY` and `DD_SITE`.
43+
Set to `true` (recommended) to send custom metrics asynchronously (with no added latency to your Lambda function executions) through CloudWatch Logs with the help of [Datadog Forwarder](https://github.com/DataDog/datadog-serverless-functions/tree/main/aws/logs_monitoring). Defaults to `false`. If set to `false`, you also need to set `DD_API_KEY` and `DD_SITE`.
4444

4545
### DD_API_KEY
4646

scripts/publish_prod.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ set -e
77
BRANCH=$(git rev-parse --abbrev-ref HEAD)
88
echo $BRANCH
99

10-
if [ $BRANCH != "master" ]; then
11-
echo "Not on master, aborting"
10+
if [ $BRANCH != "main" ]; then
11+
echo "Not on main, aborting"
1212
exit 1
1313
fi
1414

@@ -79,7 +79,7 @@ echo "Publishing layers to AWS regions..."
7979
echo
8080
echo 'Pushing updates to github'
8181
MINOR_VERSION=$(echo $NEW_VERSION | cut -d '.' -f 2)
82-
git push origin master
82+
git push origin main
8383
git push origin "refs/tags/v$MINOR_VERSION"
8484

8585

0 commit comments

Comments
 (0)