Skip to content

Commit

Permalink
Fix API documentation, 'Port' to 'port'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbohlool committed Apr 8, 2019
1 parent 864cf3e commit c1076ba
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/admissionregistration/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ type ServiceReference struct {
Path *string

// If specified, the port on the service that hosting webhook.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}
2 changes: 1 addition & 1 deletion pkg/apis/auditregistration/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ type ServiceReference struct {
Path *string

// If specified, the port on the service that hosting webhook.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ type ServiceReference struct {

// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion staging/src/k8s.io/api/auditregistration/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ type ServiceReference struct {

// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ type ServiceReference struct {
Path *string

// If specified, the port on the service that hosting webhook.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ type ServiceReference struct {

// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type ServiceReference struct {
Name string
// If specified, the port on the service that hosting the service.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type ServiceReference struct {
Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,3,opt,name=port"`
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type ServiceReference struct {
Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,3,opt,name=port"`
}
Expand Down

0 comments on commit c1076ba

Please sign in to comment.