Skip to content

Commit 9ad243f

Browse files
committed
Remove duplicate host validation in cluster.NewClient
1 parent de7f12a commit 9ad243f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

backend/cluster/client.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ func NewClient(cfg config.ClusterConfig) (*Client, error) {
9292
if cfg.LoginPrompt == "" {
9393
cfg.LoginPrompt = defaultLoginPrompt
9494
}
95-
if cfg.Host == "" {
96-
return nil, fmt.Errorf("host must be specified for DX cluster")
97-
}
9895

9996
// Regex breakdown (groups kept to match existing code indexes):
10097
// 1: DX de

0 commit comments

Comments
 (0)