Skip to content

Commit

Permalink
Homogenise capitalisation for "Vxc"
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitrios Karagiannis <[email protected]>
  • Loading branch information
alkar committed Jan 29, 2020
1 parent 8f38a77 commit defb1da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion megaport/api/port.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const (
ProductTypePort = "MEGAPORT"
ProductTypeMCR1 = "MEGAPORT"
ProductTypeMCR2 = "MCR2"
ProductTypeVXC = "VXC"
ProductTypeVxc = "VXC"
)

// port: virtual = false, type = MEGAPORT
Expand Down
8 changes: 4 additions & 4 deletions megaport/api/vxc.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type PrivateVxcCreateInput struct {
}

func (v *PrivateVxcCreateInput) productType() string {
return ProductTypeVXC
return ProductTypeVxc
}

func (v *PrivateVxcCreateInput) toPayload() ([]byte, error) {
Expand Down Expand Up @@ -151,7 +151,7 @@ type PrivateVxcUpdateInput struct {
}

func (v *PrivateVxcUpdateInput) productType() string {
return ProductTypeVXC
return ProductTypeVxc
}

func (v *PrivateVxcUpdateInput) toPayload() ([]byte, error) {
Expand Down Expand Up @@ -266,7 +266,7 @@ func (v *CloudVxcCreateInput) toPayload() ([]byte, error) {
}

func (v *CloudVxcCreateInput) productType() string {
return ProductTypeVXC
return ProductTypeVxc
}

type CloudVxcUpdateInput struct {
Expand All @@ -279,7 +279,7 @@ type CloudVxcUpdateInput struct {
}

func (v *CloudVxcUpdateInput) productType() string {
return ProductTypeVXC
return ProductTypeVxc
}

func (v *CloudVxcUpdateInput) toPayload() ([]byte, error) {
Expand Down

0 comments on commit defb1da

Please sign in to comment.