Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhiqian-chandler committed Dec 26, 2021
1 parent 66e7f7e commit ed603cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rescontroller/controllers/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (c *BaseController) GetVim(clientIp string, hostIp string) (string, string,
}

// Get input parameters for upload configuration
func (c *BaseController) GetInputParameters(clientIp string) (hostIp string, vim string, tenantId string,
func (c *BaseController) GetInputParameters(clientIp string) (hostIp string, vim string, tenantId string,
err error) {
hostIp, err = c.GetUrlHostIP(clientIp)
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions rescontroller/controllers/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (c *NetworkController) CreateNetwork() {
return
}
defer util.ClearByteArray(bKey)
hostIp, coningTenatnId, vim, err := c.GetInputParameters(clientIp)
hostIp, vim, coningTenatnId, err := c.GetInputParameters(clientIp)
if err != nil {
return
}
Expand Down Expand Up @@ -118,7 +118,7 @@ func (c *NetworkController) QueryNetwork() {
return
}
defer util.ClearByteArray(bKey)
hostIp, configTenantId, vim, err := c.GetInputParameters(clientIp)
hostIp, vim, configTenantId, err := c.GetInputParameters(clientIp)
if err != nil {
return
}
Expand Down Expand Up @@ -175,7 +175,7 @@ func (c *NetworkController) DeleteNetwork() {
return
}
defer util.ClearByteArray(bKey)
hostIp, configTenantId, vim, err := c.GetInputParameters(clientIp)
hostIp, vim, configTenantId, err := c.GetInputParameters(clientIp)
if err != nil {
return
}
Expand Down

0 comments on commit ed603cb

Please sign in to comment.