Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
slapos
Commits
41df0b0e
Commit
41df0b0e
authored
Jan 19, 2018
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fluentbit-wendelin: change return message
parent
6a92aaf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
software/fluentbit/wendelin-plugin/out_wendelin.go
software/fluentbit/wendelin-plugin/out_wendelin.go
+2
-2
No files found.
software/fluentbit/wendelin-plugin/out_wendelin.go
View file @
41df0b0e
...
...
@@ -82,14 +82,14 @@ func FLBPluginFlush(data unsafe.Pointer, length C.int, tag *C.char) int {
resp_status
,
err
:=
strconv
.
Atoi
(
status_code
[
0
])
if
err
!=
nil
{
fmt
.
Println
(
err
)
return
output
.
FLB_
RETRY
return
output
.
FLB_
ERROR
}
fmt
.
Println
(
resp
.
Status
)
fmt
.
Println
(
err
)
if
resp_status
<
200
&&
resp_status
>
205
{
return
output
.
FLB_
RETRY
return
output
.
FLB_
ERROR
}
defer
resp
.
Body
.
Close
()
...
...
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