Skip to content

Commit

Permalink
fix error notes for interface Provider.GetAPIServerInternalEndpoint
Browse files Browse the repository at this point in the history
Signed-off-by: yanggang <gang.yang@daocloud.io>
  • Loading branch information
yanggang committed Apr 3, 2023
1 parent 23d2ac0 commit 72d1390
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 72d1390

Please sign in to comment.