diff --git a/cmd/tusd/cli/composer.go b/cmd/tusd/cli/composer.go index 9715529..b35cc1e 100644 --- a/cmd/tusd/cli/composer.go +++ b/cmd/tusd/cli/composer.go @@ -46,7 +46,7 @@ func CreateComposer() { // GCS_SERVICE_ACCOUNT_FILE environment variable. gcsSAF := os.Getenv("GCS_SERVICE_ACCOUNT_FILE") if gcsSAF == "" { - stderr.Fatalf("No service account file provided for Google Cloud Storage\n") + stderr.Fatalf("No service account file provided for Google Cloud Storage using the GCS_SERVICE_ACCOUNT_FILE environment variable.\n") } service, err := gcsstore.NewGCSService(gcsSAF) @@ -54,6 +54,8 @@ func CreateComposer() { stderr.Fatalf("Unable to create Google Cloud Storage service: %s\n", err) } + stdout.Printf("Using 'gcs://%s' as GCS bucket for storage.\n", Flags.GCSBucket) + store := gcsstore.New(Flags.GCSBucket, service) store.UseIn(Composer) diff --git a/cmd/tusd/tusd b/cmd/tusd/tusd deleted file mode 100755 index 03a31a7..0000000 Binary files a/cmd/tusd/tusd and /dev/null differ