diff --git a/api-runtime/common-runtime/AnyCallHandler.go b/api-runtime/common-runtime/AnyCallHandler.go index d1fcd73e0..5d75bebc9 100644 --- a/api-runtime/common-runtime/AnyCallHandler.go +++ b/api-runtime/common-runtime/AnyCallHandler.go @@ -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 diff --git a/cloud-control-manager/CloudDriverHandler_common.go b/cloud-control-manager/CloudDriverHandler_common.go index a79e528c3..9ad14fd40 100644 --- a/cloud-control-manager/CloudDriverHandler_common.go +++ b/cloud-control-manager/CloudDriverHandler_common.go @@ -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")