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