diff --git a/actions/bin/log_cw_metric.dart b/actions/bin/log_cw_metric.dart index 7caed8fe656..ca082a8ceb4 100644 --- a/actions/bin/log_cw_metric.dart +++ b/actions/bin/log_cw_metric.dart @@ -62,8 +62,8 @@ Future logMetric() async { */ // Inputs for Metric - final metricName = core.getRequiredInput('metric-name') ?? defaultValue; - final testType = core.getRequiredInput('test-type') ?? defaultValue; + final metricName = core.getRequiredInput('metric-name'); + final testType = core.getRequiredInput('test-type'); if (!['canary', 'e2e', 'unit'].contains(testType)) { throw Exception( 'test-type input of $testType must be one of: canary, e2e, unit',