File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Change Log
22All notable changes to this project will be documented in this file. This project adheres to [ Semantic Versioning] ( http://semver.org )
33
4+ ## 2.6.5-dev
5+ - Change env: wake to use https on the platform domain (#2287 )
6+
47## 2.6.4 2021-12-06
58- Fix Terminus for PHP 5.5, 5.6, and 7.0 (#2264 )
69
Original file line number Diff line number Diff line change @@ -864,11 +864,12 @@ public function wake()
864864 $ domains = array_filter (
865865 $ this ->getDomains ()->all (),
866866 function ($ domain ) {
867- return !empty ($ domain ->get ('dns_zone_name ' ));
867+ $ domain_type = $ domain ->get ('type ' );
868+ return (!empty ($ domain_type ) && "platform " == $ domain_type );
868869 }
869870 );
870871 $ domain = array_pop ($ domains );
871- $ response = $ this ->request ()->request ("http :// {$ domain ->id }/pantheon_healthcheck " );
872+ $ response = $ this ->request ()->request ("https :// {$ domain ->id }/pantheon_healthcheck " );
872873 return [
873874 'success ' => ($ response ['status_code ' ] === 200 ),
874875 'styx ' => $ response ['headers ' ]['X-Pantheon-Styx-Hostname ' ],
You can’t perform that action at this time.
0 commit comments