Commit 9fc94ba2 authored by Sander van Harmelen's avatar Sander van Harmelen

`IPAddress` can be a single comma separated string

Fixes #575
parent 2b019087
...@@ -18,7 +18,6 @@ package gitlab ...@@ -18,7 +18,6 @@ package gitlab
import ( import (
"fmt" "fmt"
"net"
"net/url" "net/url"
"time" "time"
) )
...@@ -35,15 +34,15 @@ type RunnersService struct { ...@@ -35,15 +34,15 @@ type RunnersService struct {
// //
// GitLab API docs: https://docs.gitlab.com/ce/api/runners.html // GitLab API docs: https://docs.gitlab.com/ce/api/runners.html
type Runner struct { type Runner struct {
ID int `json:"id"` ID int `json:"id"`
Description string `json:"description"` Description string `json:"description"`
Active bool `json:"active"` Active bool `json:"active"`
IsShared bool `json:"is_shared"` IsShared bool `json:"is_shared"`
IPAddress *net.IP `json:"ip_address"` IPAddress string `json:"ip_address"`
Name string `json:"name"` Name string `json:"name"`
Online bool `json:"online"` Online bool `json:"online"`
Status string `json:"status"` Status string `json:"status"`
Token string `json:"token"` Token string `json:"token"`
} }
// RunnerDetails represents the GitLab CI runner details. // RunnerDetails represents the GitLab CI runner details.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment