goimports
This commit is contained in:
parent
160d68f29c
commit
a45699efb1
|
|
@ -21,6 +21,7 @@ package main // import "k8s.io/git-sync/cmd/git-sync"
|
|||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
|
|
@ -33,7 +34,6 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
"encoding/json"
|
||||
|
||||
"github.com/thockin/glogr"
|
||||
"github.com/thockin/logr"
|
||||
|
|
@ -198,7 +198,6 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// From here on, output goes through logging.
|
||||
log.V(0).Infof("starting up: %q", os.Args)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"time"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// Create an http client that has our timeout by default
|
||||
var netClient = &http.Client{
|
||||
Timeout: time.Duration(time.Second * time.Duration(*flWebhookTimeout)),
|
||||
|
|
|
|||
Loading…
Reference in New Issue