Remove debugging code

pull/10115/head
Thomas Stromberg 2021-01-08 16:03:22 -08:00
parent 6ec94aa064
commit 11ea5b2f1d
2 changed files with 2 additions and 6 deletions

View File

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# set -o errexit set -o errexit
set -o nounset set -o nounset
set -o pipefail set -o pipefail
set -x set -x
@ -283,7 +283,7 @@ fix_product_uuid
select_iptables select_iptables
enable_network_magic enable_network_magic
echo "WE HAVE SUCEEDED" echo "entrypoint completed: $(uname -a)"
# we want the command (expected to be systemd) to be PID1, so exec to it # we want the command (expected to be systemd) to be PID1, so exec to it
exec "$@" exec "$@"

View File

@ -84,10 +84,6 @@ func configure(cc config.ClusterConfig, n config.Node) (interface{}, error) {
} }
func status() registry.State { func status() registry.State {
/* if runtime.GOARCH != "amd64" {
return registry.State{Error: fmt.Errorf("docker driver is not supported on %q systems yet", runtime.GOARCH), Installed: false, Healthy: false, Fix: "Try other drivers", Doc: docURL}
}
*/
_, err := exec.LookPath(oci.Docker) _, err := exec.LookPath(oci.Docker)
if err != nil { if err != nil {
return registry.State{Error: err, Installed: false, Healthy: false, Fix: "Install Docker", Doc: docURL} return registry.State{Error: err, Installed: false, Healthy: false, Fix: "Install Docker", Doc: docURL}