Skip to content

Commit

Permalink
Merge pull request #3158 from yanggangtony/fix-typo-interface
Browse files Browse the repository at this point in the history
fix error notes for Provider package
  • Loading branch information
k8s-ci-robot authored Apr 3, 2023
2 parents 23d2ac0 + 72d1390 commit 2f72217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cluster/internal/providers/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type Provider interface {
DeleteNodes([]nodes.Node) error
// GetAPIServerEndpoint returns the host endpoint for the cluster's API server
GetAPIServerEndpoint(cluster string) (string, error)
// GetAPIServerEndpoint returns the internal network endpoint for the cluster's API server
// GetAPIServerInternalEndpoint returns the internal network endpoint for the cluster's API server
GetAPIServerInternalEndpoint(cluster string) (string, error)
// CollectLogs will populate dir with cluster logs and other debug files
CollectLogs(dir string, nodes []nodes.Node) error
Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func ProviderWithLogger(logger log.Logger) ProviderOption {
})
}

// providerLoggerOption is a trivial ProviderOption adapter
// providerRuntimeOption is a trivial ProviderOption adapter
// we use a type specific to logging options so we can handle them first
type providerRuntimeOption func(p *Provider)

Expand Down

0 comments on commit 2f72217

Please sign in to comment.