Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalClient
Commits
8162188d
Commit
8162188d
authored
Aug 15, 2018
by
Lukas Burgey
Browse files
Minor fixes
parent
179436df
Changes
2
Hide whitespace changes
Inline
Side-by-side
main.go
View file @
8162188d
...
...
@@ -134,6 +134,8 @@ func (c *config) syncConfig() (err error) {
c
.
RabbitMQConfig
=
fetchedConfig
.
RabbitMQConfig
c
.
Site
=
fetchedConfig
.
Site
log
.
Printf
(
"[Conf] Synchronised configuration with %v"
,
c
.
Host
)
return
}
...
...
task.go
View file @
8162188d
...
...
@@ -235,7 +235,7 @@ func (c *config) fetchTasks() (err error) {
}
defer
resp
.
Body
.
Close
()
if
resp
.
StatusCode
!=
4
00
{
if
resp
.
StatusCode
!=
2
00
{
err
=
fmt
.
Errorf
(
"Unable to fetch tasks (response: %v)"
,
resp
.
Status
)
return
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment