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 typo in Function Name. From CreateClouddConnection to CreateCloudConnection #1418

Merged
merged 1 commit into from
Jan 13, 2025
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
2 changes: 1 addition & 1 deletion api-runtime/common-runtime/AnyCallHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func SpiderletAnyCall(connectionName string, reqInfo cres.AnyCallInfo) (*cres.An

// Create a cloud connection using the driver and credential info obtained from the Spider server.
// spiderlet ==> Spider server
cldConn, err := ccm.CreateClouddConnection(connectionName)
cldConn, err := ccm.CreateCloudConnection(connectionName)
if err != nil {
cblog.Error(err)
return nil, err
Expand Down
4 changes: 2 additions & 2 deletions cloud-control-manager/CloudDriverHandler_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ func GetCloudDriverAndConnectionInfo(connectName string) (CloudDriverAndConnecti
}

// // for spiderlet
// CreateClouddConnection retrieves CloudDriverInfo and ConnectionInfo via HTTPS and constructs CloudConnection
func CreateClouddConnection(connectName string) (icon.CloudConnection, error) {
// CreateCloudConnection retrieves CloudDriverInfo and ConnectionInfo via HTTPS and constructs CloudConnection
func CreateCloudConnection(connectName string) (icon.CloudConnection, error) {
// Set up curl command
basePath := os.Getenv("CBSPIDER_ROOT")
lionKeyPath := filepath.Join(basePath, "spiderlet", "lionkey")
Expand Down
Loading