fix some typos (#467)

Signed-off-by: geekvest <cuimoman@sohu.com>
This commit is contained in:
geekvest
2023-09-26 04:56:57 +08:00
committed by GitHub
parent be3a5b8605
commit 227966b2f1
4 changed files with 5 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ func TestConfigureRoutes(t *testing.T) {
// Create a API Engine
api := gin.Default()
// Required arguements for route configuration
// Required arguments for route configuration
abortWeb := func() {}
data, err := objects.NewDataLayer([]string{"TestSpace"}, "T-1", NewHelmConfig, false)
@@ -130,7 +130,7 @@ func TestContextSetter(t *testing.T) {
w := httptest.NewRecorder()
con := GetTestGinContext(w)
// Required arguements
// Required arguments
data, err := objects.NewDataLayer([]string{"TestSpace"}, "T-1", NewHelmConfig, false)
if err != nil {

View File

@@ -40,7 +40,7 @@
{
"name": "ns",
"in": "path",
"description": "Name of kubernetes namespace, use '[emtpy]' if you want to use k8s context default"
"description": "Name of kubernetes namespace, use '[empty]' if you want to use k8s context default"
}
],
"post": {

View File

@@ -33,7 +33,7 @@ func ChartAndVersion(x string) (string, string, error) {
}
func TempFile(txt string) (string, func(), error) {
file, err := os.CreateTemp("", "helm_dahsboard_*.yaml")
file, err := os.CreateTemp("", "helm_dashboard_*.yaml")
if err != nil {
return "", nil, err
}