mirror of
https://github.com/thegeeklab/drone-admin.git
synced 2024-11-13 21:30:40 +00:00
fix code formatting
This commit is contained in:
parent
65fbb83338
commit
a354731e4f
@ -12,7 +12,7 @@ import (
|
|||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
func New(server string, token string) (drone.Client, error) {
|
func New(server, token string) (drone.Client, error) {
|
||||||
s, err := url.Parse(server)
|
s, err := url.Parse(server)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user