From 12db83bc319693152c58cdde5a854916eac835ab Mon Sep 17 00:00:00 2001 From: James Fantin-Hardesty <24646452+jfantinhardesty@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:22:54 -0600 Subject: [PATCH] fix go module for github address (#9) --- cmd/doc_test.go | 4 ++-- cmd/health-monitor.go | 10 +++++----- cmd/health-monitor_stop_all.go | 2 +- cmd/health-monitor_test.go | 8 ++++---- cmd/import_windows.go | 14 +++++++------- cmd/imports_linux.go | 16 ++++++++-------- cmd/mount.go | 8 ++++---- cmd/mount_all.go | 10 +++++----- cmd/mount_linux.go | 7 ++++--- cmd/mount_linux_test.go | 4 ++-- cmd/mount_list.go | 2 +- cmd/mount_windows.go | 3 ++- cmd/mount_windows_test.go | 4 ++-- cmd/root.go | 4 ++-- cmd/root_test.go | 4 ++-- cmd/secure.go | 2 +- cmd/secure_set.go | 2 +- cmd/secure_test.go | 4 ++-- cmd/service_windows.go | 5 +++-- cmd/service_windows_test.go | 4 ++-- cmd/unmount_all_linux.go | 2 +- cmd/unmount_linux.go | 4 ++-- cmd/unmount_linux_test.go | 4 ++-- cmd/version.go | 2 +- common/cache_policy/lru_policy.go | 4 ++-- common/cache_policy/lru_policy_test.go | 2 +- common/config/config_parser.go | 4 ++-- common/config/config_test.go | 2 +- common/log/base_logger.go | 2 +- common/log/logger.go | 2 +- common/log/logger_linux.go | 3 ++- common/log/logger_test.go | 2 +- common/log/logger_windows.go | 3 ++- common/log/silent_logger.go | 2 +- common/log/sys_logger_linux.go | 2 +- common/log/sys_logger_windows.go | 3 ++- component/attr_cache/attr_cache.go | 8 ++++---- component/attr_cache/attr_cache_test.go | 10 +++++----- component/attr_cache/cacheMap.go | 4 ++-- component/azstorage/azauth.go | 2 +- component/azstorage/azauth_test.go | 4 ++-- component/azstorage/azauthkey.go | 2 +- component/azstorage/azauthmsi.go | 2 +- component/azstorage/azauthsas.go | 2 +- component/azstorage/azauthspn.go | 2 +- component/azstorage/azstorage.go | 12 ++++++------ component/azstorage/block_blob.go | 10 +++++----- component/azstorage/block_blob_test.go | 10 +++++----- component/azstorage/config.go | 4 ++-- component/azstorage/config_test.go | 6 +++--- component/azstorage/connection.go | 6 +++--- component/azstorage/datalake.go | 8 ++++---- component/azstorage/datalake_test.go | 8 ++++---- component/azstorage/utils.go | 6 +++--- component/azstorage/utils_test.go | 4 ++-- component/block_cache/block_cache_linux.go | 10 +++++----- component/block_cache/block_cache_linux_test.go | 10 +++++----- component/block_cache/blockpool_linux.go | 2 +- component/block_cache/threadpool_linux.go | 2 +- component/file_cache/cache_policy.go | 6 +++--- component/file_cache/cache_policy_test.go | 4 ++-- component/file_cache/file_cache.go | 12 ++++++------ component/file_cache/file_cache_linux.go | 6 +++--- component/file_cache/file_cache_linux_test.go | 8 ++++---- component/file_cache/file_cache_test.go | 12 ++++++------ component/file_cache/file_cache_windows.go | 6 +++--- component/file_cache/file_cache_windows_test.go | 8 ++++---- component/file_cache/lfu_policy.go | 2 +- component/file_cache/lfu_policy_test.go | 4 ++-- component/file_cache/lru_policy.go | 4 ++-- component/file_cache/lru_policy_test.go | 2 +- component/libfuse/libfuse.go | 10 +++++----- component/libfuse/libfuse2_handler.go | 10 +++++----- .../libfuse/libfuse2_handler_test_wrapper.go | 10 +++++----- component/libfuse/libfuse_handler_test.go | 2 +- component/libfuse/statfs_linux.go | 4 ++-- component/libfuse/statfs_windows.go | 4 ++-- component/loopback/loopback_fs.go | 10 +++++----- component/loopback/loopback_fs_test.go | 4 ++-- component/s3storage/client.go | 8 ++++---- component/s3storage/client_test.go | 10 +++++----- component/s3storage/config.go | 4 ++-- component/s3storage/config_test.go | 5 +++-- component/s3storage/connection.go | 4 ++-- component/s3storage/s3storage.go | 12 ++++++------ component/s3storage/s3storage_test.go | 10 +++++----- component/s3storage/s3wrappers.go | 8 ++++---- component/s3storage/s3wrappers_test.go | 5 +++-- component/s3storage/utils.go | 8 ++++---- component/stream/connection.go | 4 ++-- component/stream/read.go | 8 ++++---- component/stream/read_test.go | 10 +++++----- component/stream/read_write.go | 8 ++++---- component/stream/read_write_filename.go | 8 ++++---- component/stream/read_write_filename_test.go | 6 +++--- component/stream/read_write_test.go | 6 +++--- component/stream/stream.go | 8 ++++---- go.mod | 2 +- internal/attribute.go | 2 +- internal/base_component.go | 4 ++-- internal/component.go | 4 ++-- internal/component_options.go | 2 +- internal/handlemap/handle_map.go | 4 ++-- internal/mock_component.go | 4 ++-- internal/pipeline.go | 2 +- internal/stats_manager/stats_common.go | 4 ++-- internal/stats_manager/stats_manager_linux.go | 4 ++-- internal/stats_manager/stats_manager_windows.go | 4 ++-- internal/winservice/registry_windows.go | 3 ++- internal/winservice/service_windows.go | 3 ++- main_linux.go | 4 ++-- main_windows.go | 6 +++--- tools/health-monitor/common/util.go | 2 +- tools/health-monitor/internal/stats_export.go | 8 ++++---- tools/health-monitor/main.go | 10 +++++----- .../monitor/cloudfuse_stats/stats_reader.go | 8 ++++---- .../cloudfuse_stats/stats_reader_linux.go | 4 ++-- .../cloudfuse_stats/stats_reader_windows.go | 4 ++-- .../monitor/cpu_mem_profiler/cpu_mem_monitor.go | 6 +++--- .../cpu_mem_profiler/cpu_mem_monitor_test.go | 6 +++--- .../monitor/file_cache/cache_monitor.go | 8 ++++---- tools/health-monitor/monitor/imports.go | 8 ++++---- .../monitor/network_profiler/network_monitor.go | 6 +++--- 123 files changed, 343 insertions(+), 333 deletions(-) diff --git a/cmd/doc_test.go b/cmd/doc_test.go index 5bf38bc04..467920d38 100644 --- a/cmd/doc_test.go +++ b/cmd/doc_test.go @@ -40,8 +40,8 @@ import ( "runtime" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/cmd/health-monitor.go b/cmd/health-monitor.go index da7a01151..9e93f455a 100644 --- a/cmd/health-monitor.go +++ b/cmd/health-monitor.go @@ -41,11 +41,11 @@ import ( "runtime" "strings" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/component/file_cache" - hmcommon "cloudfuse/tools/health-monitor/common" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/component/file_cache" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" "github.com/spf13/cobra" ) diff --git a/cmd/health-monitor_stop_all.go b/cmd/health-monitor_stop_all.go index 9966cc5ea..a393224e3 100644 --- a/cmd/health-monitor_stop_all.go +++ b/cmd/health-monitor_stop_all.go @@ -39,7 +39,7 @@ import ( "os/exec" "runtime" - hmcommon "cloudfuse/tools/health-monitor/common" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" "github.com/spf13/cobra" ) diff --git a/cmd/health-monitor_test.go b/cmd/health-monitor_test.go index 70bc5162d..23732d8da 100644 --- a/cmd/health-monitor_test.go +++ b/cmd/health-monitor_test.go @@ -43,10 +43,10 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/component/file_cache" - hmcommon "cloudfuse/tools/health-monitor/common" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/component/file_cache" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/cmd/import_windows.go b/cmd/import_windows.go index d93a764a8..39b7e3f9d 100644 --- a/cmd/import_windows.go +++ b/cmd/import_windows.go @@ -37,11 +37,11 @@ package cmd import ( - _ "cloudfuse/component/attr_cache" - _ "cloudfuse/component/azstorage" - _ "cloudfuse/component/file_cache" - _ "cloudfuse/component/libfuse" - _ "cloudfuse/component/loopback" - _ "cloudfuse/component/s3storage" - _ "cloudfuse/component/stream" + _ "github.com/Seagate/cloudfuse/component/attr_cache" + _ "github.com/Seagate/cloudfuse/component/azstorage" + _ "github.com/Seagate/cloudfuse/component/file_cache" + _ "github.com/Seagate/cloudfuse/component/libfuse" + _ "github.com/Seagate/cloudfuse/component/loopback" + _ "github.com/Seagate/cloudfuse/component/s3storage" + _ "github.com/Seagate/cloudfuse/component/stream" ) diff --git a/cmd/imports_linux.go b/cmd/imports_linux.go index 1693d9a2a..ee195d99b 100644 --- a/cmd/imports_linux.go +++ b/cmd/imports_linux.go @@ -37,12 +37,12 @@ package cmd import ( - _ "cloudfuse/component/attr_cache" - _ "cloudfuse/component/azstorage" - _ "cloudfuse/component/block_cache" - _ "cloudfuse/component/file_cache" - _ "cloudfuse/component/libfuse" - _ "cloudfuse/component/loopback" - _ "cloudfuse/component/s3storage" - _ "cloudfuse/component/stream" + _ "github.com/Seagate/cloudfuse/component/attr_cache" + _ "github.com/Seagate/cloudfuse/component/azstorage" + _ "github.com/Seagate/cloudfuse/component/block_cache" + _ "github.com/Seagate/cloudfuse/component/file_cache" + _ "github.com/Seagate/cloudfuse/component/libfuse" + _ "github.com/Seagate/cloudfuse/component/loopback" + _ "github.com/Seagate/cloudfuse/component/s3storage" + _ "github.com/Seagate/cloudfuse/component/stream" ) diff --git a/cmd/mount.go b/cmd/mount.go index d9f554c79..0ce5c8d86 100644 --- a/cmd/mount.go +++ b/cmd/mount.go @@ -50,10 +50,10 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" "github.com/sevlyar/go-daemon" "github.com/spf13/cobra" diff --git a/cmd/mount_all.go b/cmd/mount_all.go index 1d7b0beae..a68e1f76d 100644 --- a/cmd/mount_all.go +++ b/cmd/mount_all.go @@ -43,12 +43,12 @@ import ( "path/filepath" "strings" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" - "cloudfuse/component/azstorage" - "cloudfuse/component/s3storage" + "github.com/Seagate/cloudfuse/component/azstorage" + "github.com/Seagate/cloudfuse/component/s3storage" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/mount_linux.go b/cmd/mount_linux.go index a754d36ec..04b2036b1 100644 --- a/cmd/mount_linux.go +++ b/cmd/mount_linux.go @@ -37,15 +37,16 @@ package cmd import ( - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" "context" "fmt" "os" "os/signal" "time" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/sevlyar/go-daemon" "golang.org/x/sys/unix" ) diff --git a/cmd/mount_linux_test.go b/cmd/mount_linux_test.go index 269b93928..f382d3472 100644 --- a/cmd/mount_linux_test.go +++ b/cmd/mount_linux_test.go @@ -43,8 +43,8 @@ import ( "path/filepath" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/viper" "github.com/stretchr/testify/assert" diff --git a/cmd/mount_list.go b/cmd/mount_list.go index 6440352fa..e10a42fdd 100644 --- a/cmd/mount_list.go +++ b/cmd/mount_list.go @@ -37,7 +37,7 @@ package cmd import ( "fmt" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/spf13/cobra" ) diff --git a/cmd/mount_windows.go b/cmd/mount_windows.go index 9d6ac66f2..ea3c9eb73 100644 --- a/cmd/mount_windows.go +++ b/cmd/mount_windows.go @@ -35,9 +35,10 @@ package cmd import ( - "cloudfuse/internal" "context" "os" + + "github.com/Seagate/cloudfuse/internal" ) // Create dummy function so that mount.go code can compile diff --git a/cmd/mount_windows_test.go b/cmd/mount_windows_test.go index 081c64e8d..baadedbc5 100644 --- a/cmd/mount_windows_test.go +++ b/cmd/mount_windows_test.go @@ -43,8 +43,8 @@ import ( "path/filepath" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/viper" "github.com/stretchr/testify/assert" diff --git a/cmd/root.go b/cmd/root.go index ce23ed0f5..74ef68916 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -44,8 +44,8 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/cobra" ) diff --git a/cmd/root_test.go b/cmd/root_test.go index ecea632d5..f60858999 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -41,8 +41,8 @@ import ( "strings" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/secure.go b/cmd/secure.go index ecd2a5713..93c0e89d7 100644 --- a/cmd/secure.go +++ b/cmd/secure.go @@ -40,7 +40,7 @@ import ( "os" "path/filepath" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/spf13/cobra" ) diff --git a/cmd/secure_set.go b/cmd/secure_set.go index 874241f00..3fdad097d 100644 --- a/cmd/secure_set.go +++ b/cmd/secure_set.go @@ -40,7 +40,7 @@ import ( "reflect" "strings" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/secure_test.go b/cmd/secure_test.go index 5d84e9fa8..292457e9f 100644 --- a/cmd/secure_test.go +++ b/cmd/secure_test.go @@ -40,8 +40,8 @@ import ( "os" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/service_windows.go b/cmd/service_windows.go index 897959bed..a87258152 100644 --- a/cmd/service_windows.go +++ b/cmd/service_windows.go @@ -35,8 +35,6 @@ package cmd import ( - "cloudfuse/common" - "cloudfuse/internal/winservice" "errors" "fmt" "io/fs" @@ -44,6 +42,9 @@ import ( "path/filepath" "strings" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal/winservice" + "github.com/spf13/cobra" "golang.org/x/sys/windows" "golang.org/x/sys/windows/svc" diff --git a/cmd/service_windows_test.go b/cmd/service_windows_test.go index 0323c51fe..7b1fd37c6 100644 --- a/cmd/service_windows_test.go +++ b/cmd/service_windows_test.go @@ -39,8 +39,8 @@ import ( "os" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/viper" "github.com/stretchr/testify/assert" diff --git a/cmd/unmount_all_linux.go b/cmd/unmount_all_linux.go index f34fd60ba..ff223c50c 100644 --- a/cmd/unmount_all_linux.go +++ b/cmd/unmount_all_linux.go @@ -40,7 +40,7 @@ import ( "errors" "fmt" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/spf13/cobra" ) diff --git a/cmd/unmount_linux.go b/cmd/unmount_linux.go index d1e907324..a6b6e7ce3 100644 --- a/cmd/unmount_linux.go +++ b/cmd/unmount_linux.go @@ -43,8 +43,8 @@ import ( "regexp" "strings" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/cobra" ) diff --git a/cmd/unmount_linux_test.go b/cmd/unmount_linux_test.go index 4225cc132..bb4ad0337 100644 --- a/cmd/unmount_linux_test.go +++ b/cmd/unmount_linux_test.go @@ -43,8 +43,8 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/cmd/version.go b/cmd/version.go index a89aa8026..ae036092a 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -37,7 +37,7 @@ package cmd import ( "fmt" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/spf13/cobra" ) diff --git a/common/cache_policy/lru_policy.go b/common/cache_policy/lru_policy.go index adab321db..407fea53a 100644 --- a/common/cache_policy/lru_policy.go +++ b/common/cache_policy/lru_policy.go @@ -38,8 +38,8 @@ import ( "container/list" "sync" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" ) // KeyPair: the list node containing both block key and cache block values diff --git a/common/cache_policy/lru_policy_test.go b/common/cache_policy/lru_policy_test.go index 9984b8bc3..e8e996899 100644 --- a/common/cache_policy/lru_policy_test.go +++ b/common/cache_policy/lru_policy_test.go @@ -38,7 +38,7 @@ import ( "container/list" "testing" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/common/config/config_parser.go b/common/config/config_parser.go index b2d723628..fadf070a3 100644 --- a/common/config/config_parser.go +++ b/common/config/config_parser.go @@ -41,8 +41,8 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/spf13/cobra" diff --git a/common/config/config_test.go b/common/config/config_test.go index a954bc60e..bd54baf9e 100644 --- a/common/config/config_test.go +++ b/common/config/config_test.go @@ -39,7 +39,7 @@ import ( "strings" "testing" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/common/log/base_logger.go b/common/log/base_logger.go index b7afde205..f9ed86ab2 100644 --- a/common/log/base_logger.go +++ b/common/log/base_logger.go @@ -44,7 +44,7 @@ import ( "sync" "time" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" ) // LogConfig : Configuration to be provided to logging infra diff --git a/common/log/logger.go b/common/log/logger.go index 850154343..d117605e5 100644 --- a/common/log/logger.go +++ b/common/log/logger.go @@ -38,7 +38,7 @@ import ( "log" "time" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" ) // Logger : Interface to define a generic Logger. Implement this to create your new logging lib diff --git a/common/log/logger_linux.go b/common/log/logger_linux.go index 1efef710d..21b4b488d 100644 --- a/common/log/logger_linux.go +++ b/common/log/logger_linux.go @@ -37,9 +37,10 @@ package log import ( - "cloudfuse/common" "errors" "strings" + + "github.com/Seagate/cloudfuse/common" ) // newLogger : Method to create Logger object diff --git a/common/log/logger_test.go b/common/log/logger_test.go index 4aa44ccc1..cb5c367f5 100644 --- a/common/log/logger_test.go +++ b/common/log/logger_test.go @@ -37,7 +37,7 @@ package log import ( "testing" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/common/log/logger_windows.go b/common/log/logger_windows.go index 0f1d55bac..05ee3841b 100644 --- a/common/log/logger_windows.go +++ b/common/log/logger_windows.go @@ -35,9 +35,10 @@ package log import ( - "cloudfuse/common" "errors" "strings" + + "github.com/Seagate/cloudfuse/common" ) // newLogger : Method to create Logger object diff --git a/common/log/silent_logger.go b/common/log/silent_logger.go index fdbf71d99..5c45b7178 100644 --- a/common/log/silent_logger.go +++ b/common/log/silent_logger.go @@ -37,7 +37,7 @@ package log import ( "log" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" ) type SilentLogger struct { diff --git a/common/log/sys_logger_linux.go b/common/log/sys_logger_linux.go index fdacd37d3..577df2180 100644 --- a/common/log/sys_logger_linux.go +++ b/common/log/sys_logger_linux.go @@ -44,7 +44,7 @@ import ( "path/filepath" "runtime" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" ) type SysLogger struct { diff --git a/common/log/sys_logger_windows.go b/common/log/sys_logger_windows.go index aa2030bbf..bbe2b11af 100644 --- a/common/log/sys_logger_windows.go +++ b/common/log/sys_logger_windows.go @@ -37,11 +37,12 @@ package log import ( - "cloudfuse/common" "errors" "fmt" "log" + "github.com/Seagate/cloudfuse/common" + "golang.org/x/sys/windows/svc/eventlog" ) diff --git a/component/attr_cache/attr_cache.go b/component/attr_cache/attr_cache.go index 32539e4e9..e49d3f4cf 100644 --- a/component/attr_cache/attr_cache.go +++ b/component/attr_cache/attr_cache.go @@ -45,10 +45,10 @@ import ( "syscall" "time" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" ) // By default attr cache is valid for 120 seconds diff --git a/component/attr_cache/attr_cache_test.go b/component/attr_cache/attr_cache_test.go index 4324cd746..f91d7c7ca 100644 --- a/component/attr_cache/attr_cache_test.go +++ b/component/attr_cache/attr_cache_test.go @@ -47,11 +47,11 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" diff --git a/component/attr_cache/cacheMap.go b/component/attr_cache/cacheMap.go index b25faa4be..44ed80117 100644 --- a/component/attr_cache/cacheMap.go +++ b/component/attr_cache/cacheMap.go @@ -38,8 +38,8 @@ import ( "os" "time" - "cloudfuse/common" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal" ) // Flags represented in BitMap for various flags in the attr cache item diff --git a/component/azstorage/azauth.go b/component/azstorage/azauth.go index 7d734d35e..8d1b29754 100644 --- a/component/azstorage/azauth.go +++ b/component/azstorage/azauth.go @@ -35,7 +35,7 @@ package azstorage import ( - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" ) // AzAuthConfig : Config to authenticate to storage diff --git a/component/azstorage/azauth_test.go b/component/azstorage/azauth_test.go index e5f10cd03..c68cb09a7 100644 --- a/component/azstorage/azauth_test.go +++ b/component/azstorage/azauth_test.go @@ -44,8 +44,8 @@ import ( "os" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/azstorage/azauthkey.go b/component/azstorage/azauthkey.go index 0aa12fbc8..05ae6b6be 100644 --- a/component/azstorage/azauthkey.go +++ b/component/azstorage/azauthkey.go @@ -35,7 +35,7 @@ package azstorage import ( - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" "github.com/Azure/azure-storage-azcopy/v10/azbfs" "github.com/Azure/azure-storage-blob-go/azblob" diff --git a/component/azstorage/azauthmsi.go b/component/azstorage/azauthmsi.go index 2d28a8a30..9de98aa08 100644 --- a/component/azstorage/azauthmsi.go +++ b/component/azstorage/azauthmsi.go @@ -45,7 +45,7 @@ import ( "strings" "time" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" "github.com/Azure/azure-storage-azcopy/v10/azbfs" "github.com/Azure/azure-storage-azcopy/v10/common" diff --git a/component/azstorage/azauthsas.go b/component/azstorage/azauthsas.go index c7824630b..50dfd2c61 100644 --- a/component/azstorage/azauthsas.go +++ b/component/azstorage/azauthsas.go @@ -37,7 +37,7 @@ package azstorage import ( "fmt" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" "github.com/Azure/azure-storage-azcopy/v10/azbfs" "github.com/Azure/azure-storage-blob-go/azblob" diff --git a/component/azstorage/azauthspn.go b/component/azstorage/azauthspn.go index 7ef62be99..f25af02af 100644 --- a/component/azstorage/azauthspn.go +++ b/component/azstorage/azauthspn.go @@ -39,7 +39,7 @@ import ( "os" "time" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" "github.com/Azure/azure-storage-azcopy/v10/azbfs" "github.com/Azure/azure-storage-blob-go/azblob" diff --git a/component/azstorage/azstorage.go b/component/azstorage/azstorage.go index 242c98a74..dccf5fcd3 100644 --- a/component/azstorage/azstorage.go +++ b/component/azstorage/azstorage.go @@ -41,12 +41,12 @@ import ( "syscall" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/internal/stats_manager" azcopyCommon "github.com/Azure/azure-storage-azcopy/v10/common" diff --git a/component/azstorage/block_blob.go b/component/azstorage/block_blob.go index 023162f36..cd9e2cb52 100644 --- a/component/azstorage/block_blob.go +++ b/component/azstorage/block_blob.go @@ -49,11 +49,11 @@ import ( "syscall" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/convertname" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/convertname" + "github.com/Seagate/cloudfuse/internal/stats_manager" "github.com/Azure/azure-pipeline-go/pipeline" "github.com/Azure/azure-storage-azcopy/v10/ste" diff --git a/component/azstorage/block_blob_test.go b/component/azstorage/block_blob_test.go index 13e58d533..2dd7c5247 100644 --- a/component/azstorage/block_blob_test.go +++ b/component/azstorage/block_blob_test.go @@ -55,11 +55,11 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/Azure/azure-pipeline-go/pipeline" "github.com/Azure/azure-storage-blob-go/azblob" diff --git a/component/azstorage/config.go b/component/azstorage/config.go index 7df53babd..eab51cde4 100644 --- a/component/azstorage/config.go +++ b/component/azstorage/config.go @@ -40,8 +40,8 @@ import ( "reflect" "strings" - "cloudfuse/common/config" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" "github.com/Azure/azure-storage-blob-go/azblob" "github.com/JeffreyRichter/enum/enum" diff --git a/component/azstorage/config_test.go b/component/azstorage/config_test.go index 1d50b577f..48e33e3ef 100644 --- a/component/azstorage/config_test.go +++ b/component/azstorage/config_test.go @@ -37,9 +37,9 @@ package azstorage import ( "testing" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" "github.com/Azure/azure-storage-blob-go/azblob" "github.com/stretchr/testify/assert" diff --git a/component/azstorage/connection.go b/component/azstorage/connection.go index 6f28b58f1..2fd49bffa 100644 --- a/component/azstorage/connection.go +++ b/component/azstorage/connection.go @@ -38,9 +38,9 @@ import ( "net/url" "os" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" "github.com/Azure/azure-pipeline-go/pipeline" "github.com/Azure/azure-storage-blob-go/azblob" diff --git a/component/azstorage/datalake.go b/component/azstorage/datalake.go index 16da71300..4beabe7b3 100644 --- a/component/azstorage/datalake.go +++ b/component/azstorage/datalake.go @@ -46,10 +46,10 @@ import ( "syscall" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/convertname" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/convertname" "github.com/Azure/azure-pipeline-go/pipeline" diff --git a/component/azstorage/datalake_test.go b/component/azstorage/datalake_test.go index 5ce92aa3e..d78dbcf87 100644 --- a/component/azstorage/datalake_test.go +++ b/component/azstorage/datalake_test.go @@ -52,10 +52,10 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/Azure/azure-storage-azcopy/v10/azbfs" "github.com/Azure/azure-storage-blob-go/azblob" diff --git a/component/azstorage/utils.go b/component/azstorage/utils.go index 11969745c..cc8005bb8 100644 --- a/component/azstorage/utils.go +++ b/component/azstorage/utils.go @@ -50,9 +50,9 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" "github.com/Azure/azure-storage-azcopy/v10/azbfs" "github.com/Azure/azure-storage-azcopy/v10/ste" diff --git a/component/azstorage/utils_test.go b/component/azstorage/utils_test.go index c16f0a542..4c60efea5 100644 --- a/component/azstorage/utils_test.go +++ b/component/azstorage/utils_test.go @@ -39,8 +39,8 @@ import ( "strconv" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/Azure/azure-storage-blob-go/azblob" "github.com/stretchr/testify/assert" diff --git a/component/block_cache/block_cache_linux.go b/component/block_cache/block_cache_linux.go index 6abf193d6..c396f10c9 100644 --- a/component/block_cache/block_cache_linux.go +++ b/component/block_cache/block_cache_linux.go @@ -44,11 +44,11 @@ import ( "path/filepath" "sync" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/vibhansa-msft/tlru" ) diff --git a/component/block_cache/block_cache_linux_test.go b/component/block_cache/block_cache_linux_test.go index dcf21ce47..dab6f7042 100644 --- a/component/block_cache/block_cache_linux_test.go +++ b/component/block_cache/block_cache_linux_test.go @@ -46,11 +46,11 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/component/loopback" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/component/loopback" + "github.com/Seagate/cloudfuse/internal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/block_cache/blockpool_linux.go b/component/block_cache/blockpool_linux.go index a0d70d9b5..9a27032e2 100644 --- a/component/block_cache/blockpool_linux.go +++ b/component/block_cache/blockpool_linux.go @@ -35,7 +35,7 @@ package block_cache -import "cloudfuse/common/log" +import "github.com/Seagate/cloudfuse/common/log" const _1MB uint64 = (1024 * 1024) diff --git a/component/block_cache/threadpool_linux.go b/component/block_cache/threadpool_linux.go index 6183cd62c..b5b68dd31 100644 --- a/component/block_cache/threadpool_linux.go +++ b/component/block_cache/threadpool_linux.go @@ -38,7 +38,7 @@ package block_cache import ( "sync" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/internal/handlemap" ) // ThreadPool is a group of workers that can be used to execute a task diff --git a/component/file_cache/cache_policy.go b/component/file_cache/cache_policy.go index 3af7ec02f..b53b5975c 100644 --- a/component/file_cache/cache_policy.go +++ b/component/file_cache/cache_policy.go @@ -38,9 +38,9 @@ import ( "fmt" "os" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal/stats_manager" ) const DefaultEvictTime = 10 diff --git a/component/file_cache/cache_policy_test.go b/component/file_cache/cache_policy_test.go index 93b87edc4..6372df466 100644 --- a/component/file_cache/cache_policy_test.go +++ b/component/file_cache/cache_policy_test.go @@ -40,8 +40,8 @@ import ( "os" "testing" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/file_cache/file_cache.go b/component/file_cache/file_cache.go index fde73d39e..600292876 100644 --- a/component/file_cache/file_cache.go +++ b/component/file_cache/file_cache.go @@ -46,12 +46,12 @@ import ( "sync" "syscall" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/internal/stats_manager" "github.com/spf13/cobra" ) diff --git a/component/file_cache/file_cache_linux.go b/component/file_cache/file_cache_linux.go index 0b5b9e0f3..c7f6d762e 100644 --- a/component/file_cache/file_cache_linux.go +++ b/component/file_cache/file_cache_linux.go @@ -45,9 +45,9 @@ import ( "golang.org/x/sys/unix" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" ) // Creates a new object attribute diff --git a/component/file_cache/file_cache_linux_test.go b/component/file_cache/file_cache_linux_test.go index a7d0809ed..14973048a 100644 --- a/component/file_cache/file_cache_linux_test.go +++ b/component/file_cache/file_cache_linux_test.go @@ -45,10 +45,10 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/file_cache/file_cache_test.go b/component/file_cache/file_cache_test.go index baf350677..ef5a388f0 100644 --- a/component/file_cache/file_cache_test.go +++ b/component/file_cache/file_cache_test.go @@ -45,12 +45,12 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/component/loopback" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/component/loopback" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/file_cache/file_cache_windows.go b/component/file_cache/file_cache_windows.go index 251711856..817fb7fde 100644 --- a/component/file_cache/file_cache_windows.go +++ b/component/file_cache/file_cache_windows.go @@ -43,9 +43,9 @@ import ( "syscall" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" "golang.org/x/sys/windows" ) diff --git a/component/file_cache/file_cache_windows_test.go b/component/file_cache/file_cache_windows_test.go index 72c81d8cc..e4a2b06eb 100644 --- a/component/file_cache/file_cache_windows_test.go +++ b/component/file_cache/file_cache_windows_test.go @@ -44,10 +44,10 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/file_cache/lfu_policy.go b/component/file_cache/lfu_policy.go index 92419ca3e..21ff1ddef 100644 --- a/component/file_cache/lfu_policy.go +++ b/component/file_cache/lfu_policy.go @@ -40,7 +40,7 @@ import ( "sync" "time" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" ) type lfuPolicy struct { diff --git a/component/file_cache/lfu_policy_test.go b/component/file_cache/lfu_policy_test.go index 3429d00d2..618d959b8 100644 --- a/component/file_cache/lfu_policy_test.go +++ b/component/file_cache/lfu_policy_test.go @@ -41,8 +41,8 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/file_cache/lru_policy.go b/component/file_cache/lru_policy.go index 3ea35cbb7..1746da505 100644 --- a/component/file_cache/lru_policy.go +++ b/component/file_cache/lru_policy.go @@ -40,8 +40,8 @@ import ( "sync" "time" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" ) type lruNode struct { diff --git a/component/file_cache/lru_policy_test.go b/component/file_cache/lru_policy_test.go index 576099280..1fca821c3 100644 --- a/component/file_cache/lru_policy_test.go +++ b/component/file_cache/lru_policy_test.go @@ -41,7 +41,7 @@ import ( "testing" "time" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/libfuse/libfuse.go b/component/libfuse/libfuse.go index 9f910115f..b7c816589 100644 --- a/component/libfuse/libfuse.go +++ b/component/libfuse/libfuse.go @@ -40,11 +40,11 @@ import ( "context" "fmt" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/stats_manager" "github.com/winfsp/cgofuse/fuse" ) diff --git a/component/libfuse/libfuse2_handler.go b/component/libfuse/libfuse2_handler.go index 1672abf46..f9669f328 100644 --- a/component/libfuse/libfuse2_handler.go +++ b/component/libfuse/libfuse2_handler.go @@ -44,11 +44,11 @@ import ( "syscall" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/internal/stats_manager" "github.com/winfsp/cgofuse/fuse" ) diff --git a/component/libfuse/libfuse2_handler_test_wrapper.go b/component/libfuse/libfuse2_handler_test_wrapper.go index 2ea09a7f5..12aae1da1 100644 --- a/component/libfuse/libfuse2_handler_test_wrapper.go +++ b/component/libfuse/libfuse2_handler_test_wrapper.go @@ -41,11 +41,11 @@ import ( "strings" "syscall" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" diff --git a/component/libfuse/libfuse_handler_test.go b/component/libfuse/libfuse_handler_test.go index 8d0476ee3..bd53e0ca8 100644 --- a/component/libfuse/libfuse_handler_test.go +++ b/component/libfuse/libfuse_handler_test.go @@ -38,7 +38,7 @@ import ( "io/fs" "testing" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" "github.com/stretchr/testify/suite" ) diff --git a/component/libfuse/statfs_linux.go b/component/libfuse/statfs_linux.go index 1771b6593..5952137ef 100644 --- a/component/libfuse/statfs_linux.go +++ b/component/libfuse/statfs_linux.go @@ -37,8 +37,8 @@ package libfuse import ( - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/winfsp/cgofuse/fuse" "golang.org/x/sys/unix" diff --git a/component/libfuse/statfs_windows.go b/component/libfuse/statfs_windows.go index 25f2ff194..7be663f94 100644 --- a/component/libfuse/statfs_windows.go +++ b/component/libfuse/statfs_windows.go @@ -37,8 +37,8 @@ package libfuse import ( - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/winfsp/cgofuse/fuse" "golang.org/x/sys/windows" diff --git a/component/loopback/loopback_fs.go b/component/loopback/loopback_fs.go index 577a7f23e..b4ee6d01b 100644 --- a/component/loopback/loopback_fs.go +++ b/component/loopback/loopback_fs.go @@ -43,11 +43,11 @@ import ( "strings" "syscall" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" ) //LoopbackFS component Config specifications: diff --git a/component/loopback/loopback_fs_test.go b/component/loopback/loopback_fs_test.go index 1db04628f..271692623 100644 --- a/component/loopback/loopback_fs_test.go +++ b/component/loopback/loopback_fs_test.go @@ -40,8 +40,8 @@ import ( "os" "testing" - "cloudfuse/common" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/s3storage/client.go b/component/s3storage/client.go index 1e3e25969..7b0499834 100644 --- a/component/s3storage/client.go +++ b/component/s3storage/client.go @@ -47,10 +47,10 @@ import ( "syscall" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/stats_manager" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" diff --git a/component/s3storage/client_test.go b/component/s3storage/client_test.go index 162cd4faf..18dd6c65e 100644 --- a/component/s3storage/client_test.go +++ b/component/s3storage/client_test.go @@ -51,11 +51,11 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/s3" diff --git a/component/s3storage/config.go b/component/s3storage/config.go index 7b5054196..b3de73fe9 100644 --- a/component/s3storage/config.go +++ b/component/s3storage/config.go @@ -38,8 +38,8 @@ import ( "errors" "fmt" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "github.com/aws/aws-sdk-go-v2/service/s3/types" ) diff --git a/component/s3storage/config_test.go b/component/s3storage/config_test.go index 13890e8cf..f913ee6b2 100644 --- a/component/s3storage/config_test.go +++ b/component/s3storage/config_test.go @@ -35,10 +35,11 @@ package s3storage import ( - "cloudfuse/common" - "cloudfuse/common/log" "testing" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/aws/aws-sdk-go-v2/service/s3/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/component/s3storage/connection.go b/component/s3storage/connection.go index 43ebcdd5d..114d3f776 100644 --- a/component/s3storage/connection.go +++ b/component/s3storage/connection.go @@ -38,8 +38,8 @@ import ( "net/url" "os" - "cloudfuse/common" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal" "github.com/aws/aws-sdk-go-v2/service/s3/types" ) diff --git a/component/s3storage/s3storage.go b/component/s3storage/s3storage.go index a997130d8..af38692f8 100644 --- a/component/s3storage/s3storage.go +++ b/component/s3storage/s3storage.go @@ -41,12 +41,12 @@ import ( "syscall" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/internal/stats_manager" ) // S3Storage Wrapper type around aws-sdk-go-v2/service/s3 diff --git a/component/s3storage/s3storage_test.go b/component/s3storage/s3storage_test.go index 0a36739a0..58c6ab764 100644 --- a/component/s3storage/s3storage_test.go +++ b/component/s3storage/s3storage_test.go @@ -56,11 +56,11 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/s3" diff --git a/component/s3storage/s3wrappers.go b/component/s3storage/s3wrappers.go index 2d0f104a8..b826e2903 100644 --- a/component/s3storage/s3wrappers.go +++ b/component/s3storage/s3wrappers.go @@ -47,10 +47,10 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/convertname" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/convertname" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/feature/s3/manager" diff --git a/component/s3storage/s3wrappers_test.go b/component/s3storage/s3wrappers_test.go index 6bd3e26ea..6058b2645 100644 --- a/component/s3storage/s3wrappers_test.go +++ b/component/s3storage/s3wrappers_test.go @@ -36,8 +36,6 @@ package s3storage import ( - "cloudfuse/common" - "cloudfuse/common/log" "encoding/json" "fmt" "io" @@ -45,6 +43,9 @@ import ( "runtime" "testing" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" ) diff --git a/component/s3storage/utils.go b/component/s3storage/utils.go index 99019e318..1afdc0dcf 100644 --- a/component/s3storage/utils.go +++ b/component/s3storage/utils.go @@ -42,9 +42,9 @@ import ( "strings" "syscall" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" "github.com/aws/smithy-go" ) @@ -82,7 +82,7 @@ func parseS3Err(err error, attemptedAction string) error { pc, _, _, ok := runtime.Caller(1) if ok { longFuncName := runtime.FuncForPC(pc).Name() - // the function name returned is long, e.g. "cloudfuse/component/s3storage.(*Client).getObject" + // the function name returned is long, e.g. "github.com/Seagate/cloudfuse/component/s3storage.(*Client).getObject" // split the long function name using the component name funcNameParts := strings.Split(longFuncName, compName) if len(funcNameParts) > 1 { diff --git a/component/stream/connection.go b/component/stream/connection.go index 9c2714eb7..f36f6ee3e 100644 --- a/component/stream/connection.go +++ b/component/stream/connection.go @@ -35,8 +35,8 @@ package stream import ( - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" ) type StreamConnection interface { diff --git a/component/stream/read.go b/component/stream/read.go index 1400ef594..c77acef0a 100644 --- a/component/stream/read.go +++ b/component/stream/read.go @@ -39,10 +39,10 @@ import ( "sync/atomic" "syscall" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" ) type ReadCache struct { diff --git a/component/stream/read_test.go b/component/stream/read_test.go index 6bec9af37..684bda3ab 100644 --- a/component/stream/read_test.go +++ b/component/stream/read_test.go @@ -43,11 +43,11 @@ import ( "testing" "time" - "cloudfuse/common" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" diff --git a/component/stream/read_write.go b/component/stream/read_write.go index bd3975984..d2d273026 100644 --- a/component/stream/read_write.go +++ b/component/stream/read_write.go @@ -40,10 +40,10 @@ import ( "io" "sync/atomic" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/pbnjay/memory" ) diff --git a/component/stream/read_write_filename.go b/component/stream/read_write_filename.go index 292c2727e..5f087ab16 100644 --- a/component/stream/read_write_filename.go +++ b/component/stream/read_write_filename.go @@ -43,10 +43,10 @@ import ( "sync/atomic" "time" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/pbnjay/memory" ) diff --git a/component/stream/read_write_filename_test.go b/component/stream/read_write_filename_test.go index 40c1d405d..168f0b75b 100644 --- a/component/stream/read_write_filename_test.go +++ b/component/stream/read_write_filename_test.go @@ -39,9 +39,9 @@ import ( "syscall" "testing" - "cloudfuse/common" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/stretchr/testify/suite" ) diff --git a/component/stream/read_write_test.go b/component/stream/read_write_test.go index 8a0287922..111c15900 100644 --- a/component/stream/read_write_test.go +++ b/component/stream/read_write_test.go @@ -39,9 +39,9 @@ import ( "syscall" "testing" - "cloudfuse/common" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/stretchr/testify/suite" ) diff --git a/component/stream/stream.go b/component/stream/stream.go index 5f6bb9f7d..fcdc9fc12 100644 --- a/component/stream/stream.go +++ b/component/stream/stream.go @@ -39,10 +39,10 @@ import ( "errors" "fmt" - "cloudfuse/common/config" - "cloudfuse/common/log" - "cloudfuse/internal" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common/config" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal" + "github.com/Seagate/cloudfuse/internal/handlemap" "github.com/pbnjay/memory" ) diff --git a/go.mod b/go.mod index ac6a34e5d..3c424b95c 100755 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module cloudfuse +module github.com/Seagate/cloudfuse go 1.20 diff --git a/internal/attribute.go b/internal/attribute.go index 2647612a0..739808004 100644 --- a/internal/attribute.go +++ b/internal/attribute.go @@ -39,7 +39,7 @@ import ( "path" "time" - "cloudfuse/common" + "github.com/Seagate/cloudfuse/common" ) // create an object attributes struct diff --git a/internal/base_component.go b/internal/base_component.go index a2bc356f6..5f8cbaf07 100644 --- a/internal/base_component.go +++ b/internal/base_component.go @@ -37,8 +37,8 @@ package internal import ( "context" - "cloudfuse/common" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal/handlemap" ) // BaseComponent : Base implementation of the component interface diff --git a/internal/component.go b/internal/component.go index 4e86bfa22..87928aa2e 100644 --- a/internal/component.go +++ b/internal/component.go @@ -37,8 +37,8 @@ package internal import ( "context" - "cloudfuse/common" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/internal/handlemap" ) type ComponentPriority int diff --git a/internal/component_options.go b/internal/component_options.go index dd4b978c8..e387fcf7a 100644 --- a/internal/component_options.go +++ b/internal/component_options.go @@ -37,7 +37,7 @@ package internal import ( "os" - "cloudfuse/internal/handlemap" + "github.com/Seagate/cloudfuse/internal/handlemap" ) type CreateDirOptions struct { diff --git a/internal/handlemap/handle_map.go b/internal/handlemap/handle_map.go index 11a45ac36..7e636f51e 100644 --- a/internal/handlemap/handle_map.go +++ b/internal/handlemap/handle_map.go @@ -40,8 +40,8 @@ import ( "sync" "time" - "cloudfuse/common" - "cloudfuse/common/cache_policy" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/cache_policy" "go.uber.org/atomic" ) diff --git a/internal/mock_component.go b/internal/mock_component.go index 1bad5e204..83103e856 100644 --- a/internal/mock_component.go +++ b/internal/mock_component.go @@ -42,8 +42,8 @@ import ( context "context" reflect "reflect" - common "cloudfuse/common" - handlemap "cloudfuse/internal/handlemap" + common "github.com/Seagate/cloudfuse/common" + handlemap "github.com/Seagate/cloudfuse/internal/handlemap" gomock "github.com/golang/mock/gomock" ) diff --git a/internal/pipeline.go b/internal/pipeline.go index 77194f18b..ea6162090 100644 --- a/internal/pipeline.go +++ b/internal/pipeline.go @@ -38,7 +38,7 @@ import ( "context" "fmt" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" ) // Pipeline: Base pipeline structure holding list of components deployed along with the head of pipeline diff --git a/internal/stats_manager/stats_common.go b/internal/stats_manager/stats_common.go index 18b67befb..642fbfb0a 100644 --- a/internal/stats_manager/stats_common.go +++ b/internal/stats_manager/stats_common.go @@ -38,8 +38,8 @@ import ( "sync" "time" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" ) const ( diff --git a/internal/stats_manager/stats_manager_linux.go b/internal/stats_manager/stats_manager_linux.go index 649c315e8..a5f9dce89 100644 --- a/internal/stats_manager/stats_manager_linux.go +++ b/internal/stats_manager/stats_manager_linux.go @@ -41,8 +41,8 @@ import ( "os" "strings" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "golang.org/x/sys/unix" ) diff --git a/internal/stats_manager/stats_manager_windows.go b/internal/stats_manager/stats_manager_windows.go index 54ba1208e..72ba0b011 100644 --- a/internal/stats_manager/stats_manager_windows.go +++ b/internal/stats_manager/stats_manager_windows.go @@ -41,8 +41,8 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" "golang.org/x/sys/windows" ) diff --git a/internal/winservice/registry_windows.go b/internal/winservice/registry_windows.go index df0af2623..3d9a3526e 100644 --- a/internal/winservice/registry_windows.go +++ b/internal/winservice/registry_windows.go @@ -35,9 +35,10 @@ package winservice import ( - "cloudfuse/common/log" "os" + "github.com/Seagate/cloudfuse/common/log" + "golang.org/x/sys/windows/registry" ) diff --git a/internal/winservice/service_windows.go b/internal/winservice/service_windows.go index f43f3bbd0..60642f440 100644 --- a/internal/winservice/service_windows.go +++ b/internal/winservice/service_windows.go @@ -36,11 +36,12 @@ package winservice import ( "bytes" - "cloudfuse/common/log" "encoding/binary" "errors" "time" + "github.com/Seagate/cloudfuse/common/log" + "golang.org/x/sys/windows" "golang.org/x/sys/windows/registry" "golang.org/x/sys/windows/svc" diff --git a/main_linux.go b/main_linux.go index 0ae52a782..808c01c76 100644 --- a/main_linux.go +++ b/main_linux.go @@ -37,8 +37,8 @@ package main import ( - "cloudfuse/cmd" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/cmd" + "github.com/Seagate/cloudfuse/common/log" ) //go:generate ./cmd/componentGenerator.sh $NAME diff --git a/main_windows.go b/main_windows.go index ad50cbb34..985171301 100644 --- a/main_windows.go +++ b/main_windows.go @@ -37,9 +37,9 @@ package main import ( - "cloudfuse/cmd" - "cloudfuse/common/log" - "cloudfuse/internal/winservice" + "github.com/Seagate/cloudfuse/cmd" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal/winservice" "golang.org/x/sys/windows/svc" ) diff --git a/tools/health-monitor/common/util.go b/tools/health-monitor/common/util.go index 5f2113799..708b08ec7 100644 --- a/tools/health-monitor/common/util.go +++ b/tools/health-monitor/common/util.go @@ -42,7 +42,7 @@ import ( "strings" "time" - "cloudfuse/common/log" + "github.com/Seagate/cloudfuse/common/log" "github.com/shirou/gopsutil/v3/process" ) diff --git a/tools/health-monitor/internal/stats_export.go b/tools/health-monitor/internal/stats_export.go index ec16251fb..4e236c944 100644 --- a/tools/health-monitor/internal/stats_export.go +++ b/tools/health-monitor/internal/stats_export.go @@ -42,10 +42,10 @@ import ( "sync" "sync/atomic" - "cloudfuse/common" - "cloudfuse/common/log" - "cloudfuse/internal/stats_manager" - hmcommon "cloudfuse/tools/health-monitor/common" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal/stats_manager" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" ) type ExportedStat struct { diff --git a/tools/health-monitor/main.go b/tools/health-monitor/main.go index 37b858eda..31a1311c5 100644 --- a/tools/health-monitor/main.go +++ b/tools/health-monitor/main.go @@ -41,11 +41,11 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/log" - hmcommon "cloudfuse/tools/health-monitor/common" - hminternal "cloudfuse/tools/health-monitor/internal" - _ "cloudfuse/tools/health-monitor/monitor" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" + hminternal "github.com/Seagate/cloudfuse/tools/health-monitor/internal" + _ "github.com/Seagate/cloudfuse/tools/health-monitor/monitor" ) func getMonitors() []hminternal.Monitor { diff --git a/tools/health-monitor/monitor/cloudfuse_stats/stats_reader.go b/tools/health-monitor/monitor/cloudfuse_stats/stats_reader.go index db831b6ff..d978153c1 100644 --- a/tools/health-monitor/monitor/cloudfuse_stats/stats_reader.go +++ b/tools/health-monitor/monitor/cloudfuse_stats/stats_reader.go @@ -37,10 +37,10 @@ package cloudfuse_stats import ( "fmt" - "cloudfuse/common" - "cloudfuse/common/log" - hmcommon "cloudfuse/tools/health-monitor/common" - hminternal "cloudfuse/tools/health-monitor/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" + hminternal "github.com/Seagate/cloudfuse/tools/health-monitor/internal" ) type CloudfuseStats struct { diff --git a/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_linux.go b/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_linux.go index c8d9b5297..d5e269cc1 100644 --- a/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_linux.go +++ b/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_linux.go @@ -41,8 +41,8 @@ import ( "os" "time" - "cloudfuse/common/log" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal/stats_manager" "golang.org/x/sys/unix" ) diff --git a/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_windows.go b/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_windows.go index d9c4e88ea..ad1914fa8 100644 --- a/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_windows.go +++ b/tools/health-monitor/monitor/cloudfuse_stats/stats_reader_windows.go @@ -43,8 +43,8 @@ import ( "os" "time" - "cloudfuse/common/log" - "cloudfuse/internal/stats_manager" + "github.com/Seagate/cloudfuse/common/log" + "github.com/Seagate/cloudfuse/internal/stats_manager" "golang.org/x/sys/windows" ) diff --git a/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor.go b/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor.go index fc7d842f8..915652c36 100644 --- a/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor.go +++ b/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor.go @@ -43,9 +43,9 @@ import ( "strings" "time" - "cloudfuse/common/log" - hmcommon "cloudfuse/tools/health-monitor/common" - hminternal "cloudfuse/tools/health-monitor/internal" + "github.com/Seagate/cloudfuse/common/log" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" + hminternal "github.com/Seagate/cloudfuse/tools/health-monitor/internal" "github.com/shirou/gopsutil/v3/process" ) diff --git a/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor_test.go b/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor_test.go index e08d7796c..e566b2612 100644 --- a/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor_test.go +++ b/tools/health-monitor/monitor/cpu_mem_profiler/cpu_mem_monitor_test.go @@ -39,9 +39,9 @@ import ( "os" "testing" - "cloudfuse/common" - "cloudfuse/common/log" - hmcommon "cloudfuse/tools/health-monitor/common" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/tools/health-monitor/monitor/file_cache/cache_monitor.go b/tools/health-monitor/monitor/file_cache/cache_monitor.go index d2ce3c5d2..73a39865e 100644 --- a/tools/health-monitor/monitor/file_cache/cache_monitor.go +++ b/tools/health-monitor/monitor/file_cache/cache_monitor.go @@ -41,10 +41,10 @@ import ( "strings" "time" - "cloudfuse/common" - "cloudfuse/common/log" - hmcommon "cloudfuse/tools/health-monitor/common" - hminternal "cloudfuse/tools/health-monitor/internal" + "github.com/Seagate/cloudfuse/common" + "github.com/Seagate/cloudfuse/common/log" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" + hminternal "github.com/Seagate/cloudfuse/tools/health-monitor/internal" "github.com/radovskyb/watcher" ) diff --git a/tools/health-monitor/monitor/imports.go b/tools/health-monitor/monitor/imports.go index 636c38c4c..a768719e3 100644 --- a/tools/health-monitor/monitor/imports.go +++ b/tools/health-monitor/monitor/imports.go @@ -35,8 +35,8 @@ package monitor import ( - _ "cloudfuse/tools/health-monitor/monitor/cloudfuse_stats" - _ "cloudfuse/tools/health-monitor/monitor/cpu_mem_profiler" - _ "cloudfuse/tools/health-monitor/monitor/file_cache" - _ "cloudfuse/tools/health-monitor/monitor/network_profiler" + _ "github.com/Seagate/cloudfuse/tools/health-monitor/monitor/cloudfuse_stats" + _ "github.com/Seagate/cloudfuse/tools/health-monitor/monitor/cpu_mem_profiler" + _ "github.com/Seagate/cloudfuse/tools/health-monitor/monitor/file_cache" + _ "github.com/Seagate/cloudfuse/tools/health-monitor/monitor/network_profiler" ) diff --git a/tools/health-monitor/monitor/network_profiler/network_monitor.go b/tools/health-monitor/monitor/network_profiler/network_monitor.go index 61d23d4f3..064674c86 100644 --- a/tools/health-monitor/monitor/network_profiler/network_monitor.go +++ b/tools/health-monitor/monitor/network_profiler/network_monitor.go @@ -37,9 +37,9 @@ package network_monitor import ( "fmt" - "cloudfuse/common/log" - hmcommon "cloudfuse/tools/health-monitor/common" - hminternal "cloudfuse/tools/health-monitor/internal" + "github.com/Seagate/cloudfuse/common/log" + hmcommon "github.com/Seagate/cloudfuse/tools/health-monitor/common" + hminternal "github.com/Seagate/cloudfuse/tools/health-monitor/internal" ) type NetworkProfiler struct {