Skip to content

Commit

Permalink
Fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
rquitales committed Dec 14, 2023
1 parent c83598b commit 9f7d864
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions provider/pkg/kinds/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
)

func suffixSearch(urnS string, suffixes []string) bool {
func suffixSearch(s string, suffixes []string) bool {
for _, suffix := range suffixes {
if strings.HasSuffix(urnS, suffix) {
if strings.HasSuffix(s, suffix) {
return true
}
}
Expand Down
2 changes: 1 addition & 1 deletion provider/pkg/kinds/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestIsListURN(t *testing.T) {
true,
},
{
"Non-Patch DaemonSet resource",
"Non-List DaemonSet resource",
resource.URN("urn:pulumi:dev::kubernetes-ts::kubernetes:apps/v1:DaemonSet::k8s-daemonset"),
false,
},
Expand Down

0 comments on commit 9f7d864

Please sign in to comment.