Skip to content

Commit

Permalink
Merge pull request #1418 from Jeon-Jinhyeok/fix_typo
Browse files Browse the repository at this point in the history
Fix typo in Function Name. From CreateClouddConnection to CreateCloudConnection
  • Loading branch information
powerkimhub authored Jan 13, 2025
2 parents a059a8d + 0b96754 commit 68eec85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 68eec85

Please sign in to comment.