From 479071b642bbe0a522b14c442ce007f3d686a584 Mon Sep 17 00:00:00 2001 From: xingzhen Date: Thu, 3 Oct 2024 11:31:14 -0700 Subject: [PATCH] Update one error message (#4379) --- .../ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go | 2 +- ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go b/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go index 06a9d39280a..b393b9bfd09 100644 --- a/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go +++ b/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go @@ -28,5 +28,5 @@ func NewNetworkConfigClient() *NetworkConfigClient { // DefaultNetInterfaceName returns the device name of the first default network interface // available on the instance. This is only supported on linux as of now. func DefaultNetInterfaceName(unknown interface{}) (string, error) { - return "", errors.New("Not supported on unknown platform") + return "", errors.New("not supported on unknown platform") } diff --git a/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go b/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go index 06a9d39280a..b393b9bfd09 100644 --- a/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go +++ b/ecs-agent/tmds/utils/netconfig/netconfig_unsupported.go @@ -28,5 +28,5 @@ func NewNetworkConfigClient() *NetworkConfigClient { // DefaultNetInterfaceName returns the device name of the first default network interface // available on the instance. This is only supported on linux as of now. func DefaultNetInterfaceName(unknown interface{}) (string, error) { - return "", errors.New("Not supported on unknown platform") + return "", errors.New("not supported on unknown platform") }