From a6d761c8f85053c4f984f811ed0b8293633e0235 Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Wed, 30 Aug 2023 15:55:21 -0700 Subject: [PATCH] chore: removed an extra line of fetchAndCacheConstraintFromEndpoint --- .../lib/src/remote_constraint_provider.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart b/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart index 18223b22f2..4f9e67b99d 100644 --- a/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart +++ b/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart @@ -141,7 +141,6 @@ class DefaultRemoteLoggingConstraintProvider _timer = Timer.periodic(_config.refreshIntervalInSeconds, (timer) async { await _fetchAndCacheConstraintFromEndpoint(); }); - await _fetchAndCacheConstraintFromEndpoint(); } } }