Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#7844 from knabben/drop-newserver
Browse files Browse the repository at this point in the history
⚠️ Removing deprecated NewServer function
  • Loading branch information
k8s-ci-robot authored Jan 4, 2023
2 parents 192517b + b471b5a commit cb4e781
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions docs/book/src/developer/providers/v1.3-to-v1.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ maintainers of providers and consumers of our Go API.
- `MachineHealthCheckSuccededCondition` condition type has been removed.
- `CloneTemplate` and `CloneTemplateInput` has been removed.
- The option `--list-images` from `init` subcommand has been removed.
- `exp/runtime/server.NewServer` has been removed.

### API Changes

Expand Down
7 changes: 0 additions & 7 deletions exp/runtime/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ type Options struct {
CertDir string
}

// NewServer creates a new runtime webhook server based on the given Options.
//
// Deprecated: use New instead.
func NewServer(options Options) (*Server, error) {
return New(options)
}

// New creates a new runtime webhook server based on the given Options.
func New(options Options) (*Server, error) {
if options.Catalog == nil {
Expand Down

0 comments on commit cb4e781

Please sign in to comment.