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
922766a7
Commit
922766a7
authored
Feb 07, 2018
by
Humble Chirammal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove provisioner configuration from info message.
Signed-off-by:
Humble Chirammal
<
hchiramm@redhat.com
>
parent
11104d75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
glusterfs.go
pkg/volume/glusterfs/glusterfs.go
+2
-2
No files found.
pkg/volume/glusterfs/glusterfs.go
View file @
922766a7
...
...
@@ -614,7 +614,7 @@ func (d *glusterfsVolumeDeleter) Delete() error {
}
d
.
provisionerConfig
=
*
cfg
glog
.
V
(
4
)
.
Infof
(
"deleting volume %q
with configuration %+v"
,
volumeID
,
d
.
provisionerConfig
)
glog
.
V
(
4
)
.
Infof
(
"deleting volume %q
"
,
volumeID
)
gid
,
exists
,
err
:=
d
.
getGid
()
if
err
!=
nil
{
...
...
@@ -743,7 +743,7 @@ func (p *glusterfsVolumeProvisioner) CreateVolume(gid int) (r *v1.GlusterfsVolum
capacity
:=
p
.
options
.
PVC
.
Spec
.
Resources
.
Requests
[
v1
.
ResourceName
(
v1
.
ResourceStorage
)]
// Glusterfs creates volumes in units of GiB, but heketi documentation incorrectly reports GBs
sz
:=
int
(
volume
.
RoundUpToGiB
(
capacity
))
glog
.
V
(
2
)
.
Infof
(
"create volume of size: %d GiB
and configuration %+v"
,
sz
,
p
.
provisionerConfig
)
glog
.
V
(
2
)
.
Infof
(
"create volume of size: %d GiB
"
,
sz
)
if
p
.
url
==
""
{
glog
.
Errorf
(
"REST server endpoint is empty"
)
return
nil
,
0
,
""
,
fmt
.
Errorf
(
"failed to create glusterfs REST client, REST URL is empty"
)
...
...
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