Skip to content

Commit

Permalink
Don't check etcd if scheme is unix
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud authored and brandond committed Sep 16, 2021
1 parent cb65816 commit f8fe3d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/registry/core/rest/storage_core.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ func (s componentStatusStorage) serversToValidate() map[string]*componentstatus.
klog.Errorf("Failed to parse etcd url for validation: %v", err)
continue
}
if etcdUrl.Scheme == "unix" {
continue
}
var port int
var addr string
if strings.Contains(etcdUrl.Host, ":") {
Expand Down

0 comments on commit f8fe3d4

Please sign in to comment.