Rename credentials to config

This commit is contained in:
Cyrill Troxler 2018-07-16 20:24:54 +02:00
parent f16c868b2a
commit 360d9bfe69
8 changed files with 33 additions and 33 deletions

View file

@ -87,11 +87,11 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
mounter, exists := attrib[mounterKey]
if !exists || mounter == s3fsMounter {
if err := s3fsMount(volumeID, ns.s3.cr, targetPath); err != nil {
if err := s3fsMount(volumeID, ns.s3.cfg, targetPath); err != nil {
return nil, err
}
} else if mounter == goofysMounter {
if err := goofysMount(volumeID, ns.s3.cr, targetPath); err != nil {
if err := goofysMount(volumeID, ns.s3.cfg, targetPath); err != nil {
return nil, err
}
} else {