Skip to content

Commit

Permalink
format: run gofmt on all files
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Anderson <[email protected]>
  • Loading branch information
ansiwen authored and mergify[bot] committed Oct 4, 2021
1 parent 26fd846 commit 87f4563
Show file tree
Hide file tree
Showing 59 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions cephfs/admin/bytecount.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/clone.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/clone_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/flags.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/fsadmin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/fsadmin_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/mirror_workflow_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus && !octopus
// +build !nautilus,!octopus

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/response.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/subvolume.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/subvolume_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/subvolumegroup.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/subvolumegroup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/timestamp.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/timestamp_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/volume.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/volume_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/admin/workflow_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package admin
Expand Down
1 change: 1 addition & 0 deletions cephfs/conn_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package cephfs
Expand Down
1 change: 1 addition & 0 deletions cephfs/conn_nautilus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package cephfs
Expand Down
2 changes: 2 additions & 0 deletions cephfs/mount_perms_mimic.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:build !luminous
// +build !luminous

//
// ceph_mount_perms_set available in mimic & later

Expand Down
1 change: 1 addition & 0 deletions cephfs/mount_perms_mimic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous
// +build !luminous

package cephfs
Expand Down
1 change: 1 addition & 0 deletions internal/cutil/sync_buffer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build ptrguard
// +build ptrguard

package cutil
Expand Down
1 change: 1 addition & 0 deletions internal/cutil/sync_buffer_memcpy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !ptrguard
// +build !ptrguard

package cutil
Expand Down
1 change: 1 addition & 0 deletions rados/command_mimic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous
// +build !luminous

package rados
Expand Down
1 change: 1 addition & 0 deletions rados/ioctx_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build nautilus
// +build nautilus

package rados
Expand Down
1 change: 1 addition & 0 deletions rados/ioctx_nautilus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build nautilus
// +build nautilus

package rados
Expand Down
1 change: 1 addition & 0 deletions rados/ioctx_octopus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package rados
Expand Down
1 change: 1 addition & 0 deletions rados/ioctx_octopus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package rados
Expand Down
1 change: 1 addition & 0 deletions rados/rados_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !mimic
// +build !mimic

package rados
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/admin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/admin_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/common_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/imagespec.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus && ceph_preview
// +build !nautilus,ceph_preview

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/imagespec_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus && ceph_preview
// +build !nautilus,ceph_preview

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/msschedule.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/msschedule_complex_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/msschedule_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/task.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus && ceph_preview
// +build !nautilus,ceph_preview

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/admin/task_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus && ceph_preview
// +build !nautilus,ceph_preview

package admin
Expand Down
1 change: 1 addition & 0 deletions rbd/encryption.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !octopus && !nautilus
// +build !octopus,!nautilus

package rbd
Expand Down
1 change: 1 addition & 0 deletions rbd/encryption_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !octopus && !nautilus
// +build !octopus,!nautilus

package rbd
Expand Down
1 change: 1 addition & 0 deletions rbd/features_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package rbd
Expand Down
1 change: 1 addition & 0 deletions rbd/features_nautilus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package rbd
Expand Down
1 change: 1 addition & 0 deletions rbd/mirror.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

// Initially, we're only providing mirroring related functions for octopus as
Expand Down
1 change: 1 addition & 0 deletions rbd/mirror_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

// Initially, we're only providing mirroring related functions for octopus as
Expand Down
2 changes: 2 additions & 0 deletions rbd/namespace_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

//
// Ceph Nautilus is the first release that includes rbd_namespace_create(),
// rbd_namespace_remove(), rbd_namespace_exists() and rbd_namespace_list().
Expand Down
1 change: 1 addition & 0 deletions rbd/namespace_nautilus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package rbd
Expand Down
1 change: 1 addition & 0 deletions rbd/options_octopus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package rbd
Expand Down
2 changes: 2 additions & 0 deletions rbd/pool_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

//
// Ceph Nautilus is the first release that includes rbd_pool_metadata_get(),
// rbd_pool_metadata_set() and rbd_pool_metadata_remove().
Expand Down
1 change: 1 addition & 0 deletions rbd/pool_nautilus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package rbd
Expand Down
2 changes: 2 additions & 0 deletions rbd/rbd_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

//
// Ceph Nautilus is the first release that includes rbd_list2() and
// rbd_get_create_timestamp().
Expand Down
1 change: 1 addition & 0 deletions rbd/rbd_nautilus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

package rbd
Expand Down
2 changes: 2 additions & 0 deletions rbd/snapshot_namespace.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:build !luminous
// +build !luminous

//
// Ceph Mimic introduced rbd_snap_get_namespace_type().

Expand Down
1 change: 1 addition & 0 deletions rbd/snapshot_namespace_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !luminous
// +build !luminous

package rbd
Expand Down
2 changes: 2 additions & 0 deletions rbd/snapshot_nautilus.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:build !luminous && !mimic
// +build !luminous,!mimic

//
// Ceph Nautilus introduced rbd_get_parent() and deprecated rbd_get_parent_info().
// Ceph Nautilus introduced rbd_list_children3() and deprecated rbd_list_children().
Expand Down
1 change: 1 addition & 0 deletions rbd/snapshot_octopus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package rbd
Expand Down
1 change: 1 addition & 0 deletions rbd/snapshot_octopus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !nautilus
// +build !nautilus

package rbd
Expand Down
1 change: 1 addition & 0 deletions rgw/admin/caps.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build ceph_preview
// +build ceph_preview

package admin
Expand Down
1 change: 1 addition & 0 deletions rgw/admin/caps_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build ceph_preview
// +build ceph_preview

package admin
Expand Down

0 comments on commit 87f4563

Please sign in to comment.