From 913327e016dcb941cdd9fe401715a95824a8a5ad Mon Sep 17 00:00:00 2001 From: Danny Adams Date: Wed, 8 Mar 2023 08:47:38 -0500 Subject: [PATCH] Update cli/backup/backup.go Shared backup variables added to file. fileCreatedBefore strings are duplicated. These vars are now in the utils package. --- src/cli/backup/backup.go | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/cli/backup/backup.go b/src/cli/backup/backup.go index 0cb72c792..e343b1a7d 100644 --- a/src/cli/backup/backup.go +++ b/src/cli/backup/backup.go @@ -18,18 +18,12 @@ import ( "github.com/spf13/cobra" ) -// ============================================== -// Folder Object flags -// These options are flags for indicating -// that a time-based filter should be used for -// within returning objects for details. -// Used by: OneDrive, SharePoint +// ================================================ +// Shared Backup Globals // ================================================ var ( - fileCreatedAfter string - fileCreatedBefore string - fileModifiedAfter string - fileModifiedBefore string + backupID string + user []string ) var subCommandFuncs = []func() *cobra.Command{