summaryrefslogtreecommitdiffstats
path: root/resources/resource_factories/create/remote.go
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2022-03-10 12:01:05 +0800
committerAnthony Fok <anthony.fok@canada.ca>2022-03-22 00:38:23 -0600
commit48c98a8d24a0f5ceb17ce4977587f660d137a1a5 (patch)
treec38e62b143227b3528194e85577332f0ae8591be /resources/resource_factories/create/remote.go
parentbbd455fe79de4d882c103f4352945f60276e564e (diff)
Fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com> [foka@debian.org: Resolve merge conflict and squash 2 commits] Signed-off-by: Anthony Fok <foka@debian.org>
Diffstat (limited to 'resources/resource_factories/create/remote.go')
-rw-r--r--resources/resource_factories/create/remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_factories/create/remote.go b/resources/resource_factories/create/remote.go
index 0ca2be834..0beb87195 100644
--- a/resources/resource_factories/create/remote.go
+++ b/resources/resource_factories/create/remote.go
@@ -125,7 +125,7 @@ func (c *Client) FromRemote(uri string, optionsm map[string]any) (resource.Resou
}
}
- // Look for a file extention. If it's .txt, look for a more specific.
+ // Look for a file extension. If it's .txt, look for a more specific.
if extensionHints == nil || extensionHints[0] == ".txt" {
if ext := path.Ext(filename); ext != "" {
extensionHints = []string{ext}