Skip to content

Commit

Permalink
Merge branch 'main' into dev/ilbiryuk/addListTunnelByRegionApi
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaBiryukov authored Sep 15, 2023
2 parents 4ac8e0a + 8faa5c3 commit 0da4815
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cs/src/Contracts/TunnelPortV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public TunnelPortV2()
[MaxLength(MaxTags)]
[ArrayStringLength(TagMaxLength, MinimumLength = TagMinLength)]
[ArrayRegularExpression(TagPattern)]
public string[]? Tags { get; set; }
public string[]? Labels { get; set; }

/// <summary>
/// Gets or sets the protocol of the tunnel port.
Expand Down
2 changes: 1 addition & 1 deletion go/tunnels/tunnel_port_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type TunnelPortV2 struct {
Description string `json:"description,omitempty"`

// Gets or sets the tags of the port.
Tags []string `json:"tags,omitempty"`
Labels []string `json:"labels,omitempty"`

// Gets or sets the protocol of the tunnel port.
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class TunnelPortV2 {
* Gets or sets the tags of the port.
*/
@Expose
public String[] tags;
public String[] labels;

/**
* Gets or sets the protocol of the tunnel port.
Expand Down
2 changes: 1 addition & 1 deletion rs/src/contracts/tunnel_port_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct TunnelPortV2 {

// Gets or sets the tags of the port.
#[serde(skip_serializing_if = "Vec::is_empty", default)]
pub tags: Vec<String>,
pub labels: Vec<String>,

// Gets or sets the protocol of the tunnel port.
//
Expand Down
2 changes: 1 addition & 1 deletion ts/src/contracts/tunnelPortV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface TunnelPortV2 {
/**
* Gets or sets the tags of the port.
*/
tags?: string[];
labels?: string[];

/**
* Gets or sets the protocol of the tunnel port.
Expand Down

0 comments on commit 0da4815

Please sign in to comment.