mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
cleanup: resolves gofumpt issues of internal codes
This PR runs gofumpt for internal folder. Updates: #1586 Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
@ -734,7 +734,7 @@ func (conn *Connection) Destroy() {
|
||||
// volumeHandle and the newly generated volumeHandle.
|
||||
func (conn *Connection) CheckNewUUIDMapping(ctx context.Context,
|
||||
journalPool, volumeHandle string) (string, error) {
|
||||
var cj = conn.config
|
||||
cj := conn.config
|
||||
|
||||
// check if request name is already part of the directory omap
|
||||
fetchKeys := []string{
|
||||
@ -762,7 +762,7 @@ func (conn *Connection) CheckNewUUIDMapping(ctx context.Context,
|
||||
// internal reference.
|
||||
func (conn *Connection) ReserveNewUUIDMapping(ctx context.Context,
|
||||
journalPool, oldVolumeHandle, newVolumeHandle string) error {
|
||||
var cj = conn.config
|
||||
cj := conn.config
|
||||
|
||||
setKeys := map[string]string{
|
||||
cj.csiNameKeyPrefix + oldVolumeHandle: newVolumeHandle,
|
||||
|
Reference in New Issue
Block a user