From e952c12dfe12e0c8776e7a989ab93dfac417d615 Mon Sep 17 00:00:00 2001 From: Arto Jantunen Date: Tue, 25 Sep 2018 10:45:41 +0300 Subject: [PATCH] AWS: Add a simple test for "shared" tag For some reason this wasn't done in 0b5ae5391ef9. --- pkg/cloudprovider/providers/aws/tags_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/cloudprovider/providers/aws/tags_test.go b/pkg/cloudprovider/providers/aws/tags_test.go index c745451431b..2f1f3a44c74 100644 --- a/pkg/cloudprovider/providers/aws/tags_test.go +++ b/pkg/cloudprovider/providers/aws/tags_test.go @@ -57,6 +57,12 @@ func TestFindClusterID(t *testing.T) { }, ExpectedNew: "a", }, + { + Tags: map[string]string{ + TagNameKubernetesClusterPrefix + "a": "shared", + }, + ExpectedNew: "a", + }, { Tags: map[string]string{ TagNameKubernetesClusterPrefix + "a": "",