Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misspell #1143

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/rest/server/mcis/provisioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func RestPostMcisDynamic(c echo.Context) error {
}

// RestPostMcisDynamicCheckRequest godoc
// @Summary Check avaiable ConnectionConfig list for creating MCIS Dynamically
// @Description Check avaiable ConnectionConfig list before create MCIS Dynamically from common spec and image
// @Summary Check available ConnectionConfig list for creating MCIS Dynamically
// @Description Check available ConnectionConfig list before create MCIS Dynamically from common spec and image
// @Tags [Infra service] MCIS Provisioning management
// @Accept json
// @Produce json
Expand Down
2 changes: 1 addition & 1 deletion src/core/mcis/provisioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ func CheckMcisDynamicReq(req *McisConnectionConfigCandidatesReq) (*CheckMcisDyna

connectionConfigList, err := common.GetConnConfigList()
if err != nil {
err := fmt.Errorf("Cannnot load ConnectionConfigList in MCIS dynamic request check.")
err := fmt.Errorf("Cannot load ConnectionConfigList in MCIS dynamic request check.")
common.CBLog.Error(err)
return &mcisReqInfo, err
}
Expand Down
4 changes: 2 additions & 2 deletions src/core/mcis/utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ func InspectResourcesOverview() (InspectResourceAllResult, error) {

connectionConfigList, err := common.GetConnConfigList()
if err != nil {
err := fmt.Errorf("Cannnot load ConnectionConfigList")
err := fmt.Errorf("Cannot load ConnectionConfigList")
common.CBLog.Error(err)
return InspectResourceAllResult{}, err
}
Expand Down Expand Up @@ -726,7 +726,7 @@ func RegisterCspNativeResourcesAll(nsId string, mcisId string, option string) (R

connectionConfigList, err := common.GetConnConfigList()
if err != nil {
err := fmt.Errorf("Cannnot load ConnectionConfigList")
err := fmt.Errorf("Cannot load ConnectionConfigList")
common.CBLog.Error(err)
return RegisterResourceAllResult{}, err
}
Expand Down