From 04f60ca88e895f2a50c960f8e404e58a18b4b013 Mon Sep 17 00:00:00 2001 From: Alex Ott Date: Thu, 2 Jan 2025 12:45:36 +0100 Subject: [PATCH] Rebase and update comment --- workspace/resource_notebook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/resource_notebook.go b/workspace/resource_notebook.go index 15c07d497..c604ffd5b 100644 --- a/workspace/resource_notebook.go +++ b/workspace/resource_notebook.go @@ -333,7 +333,7 @@ func ResourceNotebook() common.Resource { oldFormat := d.Get("format").(string) if oldFormat == "" { source := d.Get("source").(string) - // check if `source` is set, and if it is, use file exension to determine format + // check if `source` is set, and if it is, use file extension to determine format if source != "" { ext := strings.ToLower(filepath.Ext(source)) oldFormat = extMap[ext].Format