Skip to content

Commit b471b5a

Browse files
committed
Removing deprecated exp/runtime/server.NewServer function
1 parent 192517b commit b471b5a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

docs/book/src/developer/providers/v1.3-to-v1.4.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ maintainers of providers and consumers of our Go API.
2424
- `MachineHealthCheckSuccededCondition` condition type has been removed.
2525
- `CloneTemplate` and `CloneTemplateInput` has been removed.
2626
- The option `--list-images` from `init` subcommand has been removed.
27+
- `exp/runtime/server.NewServer` has been removed.
2728

2829
### API Changes
2930

exp/runtime/server/server.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,6 @@ type Options struct {
7070
CertDir string
7171
}
7272

73-
// NewServer creates a new runtime webhook server based on the given Options.
74-
//
75-
// Deprecated: use New instead.
76-
func NewServer(options Options) (*Server, error) {
77-
return New(options)
78-
}
79-
8073
// New creates a new runtime webhook server based on the given Options.
8174
func New(options Options) (*Server, error) {
8275
if options.Catalog == nil {

0 commit comments

Comments
 (0)