Skip to content

Commit d96673e

Browse files
authored
[Fix] Autoscaling: Fix Public IP name in v1 configuration opts (#901)
1 parent e254578 commit d96673e

File tree

1 file changed

+2
-2
lines changed
  • openstack/autoscaling/v1/configurations

1 file changed

+2
-2
lines changed

openstack/autoscaling/v1/configurations/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package configurations
33
import (
44
"encoding/base64"
55

6-
"github.com/opentelekomcloud/gophertelekomcloud"
6+
golangsdk "github.com/opentelekomcloud/gophertelekomcloud"
77
"github.com/opentelekomcloud/gophertelekomcloud/internal/extract"
88
)
99

@@ -36,7 +36,7 @@ type InstanceConfigOpts struct {
3636
// Specifies the EIP of the ECS. The EIP can be configured in two ways.
3737
// Do not use an EIP. In this case, this parameter is unavailable.
3838
// Automatically assign an EIP. You need to specify the information about the new EIP.
39-
PubicIp *PublicIp `json:"public_ip,omitempty"`
39+
PublicIp *PublicIp `json:"public_ip,omitempty"`
4040
// Specifies the user data to be injected during the ECS creation process. Text, text files, and gzip files can be injected.
4141
// Constraints:
4242
// The content to be injected must be encoded with base64. The maximum size of the content to be injected (before encoding) is 32 KB.

0 commit comments

Comments
 (0)