diff --git a/pkg/cmd/attestation/auth/host.go b/pkg/cmd/attestation/auth/host.go index a8997c403..d72f82fa5 100644 --- a/pkg/cmd/attestation/auth/host.go +++ b/pkg/cmd/attestation/auth/host.go @@ -9,9 +9,7 @@ import ( var ErrUnsupportedHost = errors.New("An unsupported host was detected. Note that gh attestation does not currently support GHES") func IsHostSupported(host string) error { - // Note that this check is slightly redundant as Tenancy should not be considered Enterprise - // but the ghinstance package has not been updated to reflect this yet. - if ghauth.IsEnterprise(host) && !ghauth.IsTenancy(host) { + if ghauth.IsEnterprise(host) { return ErrUnsupportedHost } return nil