Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(19)

Issue 12814043: code review 12814043: cmd/api: don't fail API check if there's no network (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by bradfitz
Modified:
10 years, 8 months ago
Reviewers:
shiv
CC:
golang-dev, shiv
Visibility:
Public.

Description

cmd/api: don't fail API check if there's no network If the hg checkout of go.tools fails, check for Internet connectivity before failing.

Patch Set 1 #

Patch Set 2 : diff -r 1c523a432503 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 1c523a432503 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 1c523a432503 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 1c523a432503 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r c5623a2c6845 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M src/cmd/api/run.go View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 8 months ago (2013-08-12 23:13:16 UTC) #1
bradfitz
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 8 months ago (2013-08-12 23:15:33 UTC) #2
bradfitz
Nice. On Mon, Aug 12, 2013 at 4:13 PM, <bradfitz@golang.org> wrote: > Reviewers: golang-dev1, > ...
10 years, 8 months ago (2013-08-12 23:15:38 UTC) #3
shiv
LGTM. I like the simplicity of this fix with os.Exit(0) as against extra logic that ...
10 years, 8 months ago (2013-08-13 01:25:03 UTC) #4
bradfitz
10 years, 8 months ago (2013-08-13 02:18:54 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=e1afe5447f6a ***

cmd/api: don't fail API check if there's no network

If the hg checkout of go.tools fails, check for Internet
connectivity before failing.

R=golang-dev, shivakumar.gn
CC=golang-dev
https://codereview.appspot.com/12814043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b