summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorStormxx <stormxx@1024.engineer>2020-07-06 23:58:31 +0800
committerGitHub <noreply@github.com>2020-07-06 11:58:31 -0400
commit26e931ae34f618c1a5ad5935cceff7372b16f8a2 (patch)
treea515d72524b8460b0c32ae9b88224f35f9d01db3 /modules
parent56f222d44cd8d2787ad94105c5e219ebeeb10120 (diff)
downloadgitea-26e931ae34f618c1a5ad5935cceff7372b16f8a2.tar.gz
gitea-26e931ae34f618c1a5ad5935cceff7372b16f8a2.zip
fix a spelling error (#12163)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/database.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/database.go b/modules/setting/database.go
index 4e84f8f8d1..a0734bc67a 100644
--- a/modules/setting/database.go
+++ b/modules/setting/database.go
@@ -51,7 +51,7 @@ var (
}
)
-// GetDBTypeByName returns the dataase type as it defined on XORM according the given name
+// GetDBTypeByName returns the database type as it defined on XORM according the given name
func GetDBTypeByName(name string) string {
return dbTypes[name]
}