Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
35cabc37
Commit
35cabc37
authored
Aug 30, 2016
by
Random-Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong permission bit for log file.
parent
f839c5ff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
services.go
test/e2e_node/services/services.go
+1
-1
No files found.
test/e2e_node/services/services.go
View file @
35cabc37
...
@@ -238,7 +238,7 @@ func (es *e2eService) getLogFiles() {
...
@@ -238,7 +238,7 @@ func (es *e2eService) getLogFiles() {
if
err
!=
nil
{
if
err
!=
nil
{
glog
.
Errorf
(
"failed to get %q from journald: %v, %v"
,
targetFileName
,
string
(
out
),
err
)
glog
.
Errorf
(
"failed to get %q from journald: %v, %v"
,
targetFileName
,
string
(
out
),
err
)
}
else
{
}
else
{
if
err
=
ioutil
.
WriteFile
(
targetLink
,
out
,
0
755
);
err
!=
nil
{
if
err
=
ioutil
.
WriteFile
(
targetLink
,
out
,
0
644
);
err
!=
nil
{
glog
.
Errorf
(
"failed to write logs to %q: %v"
,
targetLink
,
err
)
glog
.
Errorf
(
"failed to write logs to %q: %v"
,
targetLink
,
err
)
}
}
}
}
...
...
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