Skip to content

Commit 7dce33c

Browse files
committed
Change description for default project id options
1 parent 10330ad commit 7dce33c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cloud/cloud.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ type client struct {
108108
func New(config *Config) Interface {
109109
csClient := cloudstack.NewAsyncClient(config.APIURL, config.APIKey, config.SecretKey, config.VerifySSL)
110110

111-
// Set the project id to every request.
112-
// This is possible because we just could work in one project with the previous implementation.
111+
// Set the project id to every request that support options.
112+
// This is possible because we also could work in one project only with the previous implementation.
113113
if config.ProjectID != "" {
114114
csClient.DefaultOptions(cloudstack.WithProject(config.ProjectID))
115115
klog.Background().V(2).Info("Set projectID to cloud connector", "projectID", config.ProjectID)

0 commit comments

Comments
 (0)