Skip to content

Commit

Permalink
Merge branch 'master' of github.com:faultline/faultline-go
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed May 6, 2018
2 parents 8aed53f + 8f9b619 commit b83f3c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var notifications = []interface{}{
Username: "faultline-notify",
NotifyInterval: 5,
Threshold: 10,
Timezone: "Asia/Tokyo"
Timezone: "Asia/Tokyo",
},
}

Expand Down
10 changes: 5 additions & 5 deletions faultline/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type Slack struct {
Username string `json:"username"`
IconEmoji string `json:"iconEmoji,omitempty"`
IconURL string `json:"iconUrl,omitempty"`
Timezone int `json:"timezone,omitempty"`
Timezone string `json:"timezone,omitempty"`
LinkTemplate string `json:"linkTemplate,omitempty"`
}

Expand All @@ -20,10 +20,10 @@ type GitHub struct {
Endpoint string `json:"endpoint,omitempty"`
UserToken string `json:"userToken"`
Owner string `json:"owner"`
Repo int `json:"repo"`
Repo string `json:"repo"`
Labels []string `json:"labels,omitempty"`
IfExist string `json:"if_exist,omitempty"`
Timezone int `json:"timezone,omitempty"`
Timezone string `json:"timezone,omitempty"`
LinkTemplate string `json:"linkTemplate,omitempty"`
}

Expand All @@ -34,9 +34,9 @@ type GitLab struct {
Endpoint string `json:"endpoint,omitempty"`
PersonalAccessToken string `json:"personalAccessToken"`
Owner string `json:"owner"`
Repo int `json:"repo"`
Repo string `json:"repo"`
Labels []string `json:"labels,omitempty"`
IfExist string `json:"if_exist,omitempty"`
Timezone int `json:"timezone,omitempty"`
Timezone string `json:"timezone,omitempty"`
LinkTemplate string `json:"linkTemplate,omitempty"`
}

0 comments on commit b83f3c4

Please sign in to comment.