A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/orgrim/pg_back/commit/badd15d89622fa1796cc84e3433ff4aa113d2ed6 below:

make gcs-bucket mandatory when uploading to GCS · orgrim/pg_back@badd15d · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-0

lines changed Original file line number Diff line number Diff line change

@@ -197,6 +197,10 @@ func run() (retVal error) {

197 197

return fmt.Errorf("a bucket is mandatory when upload is s3")

198 198

}

199 199 200 +

if opts.Upload == "gcs" && opts.GCSBucket == "" {

201 +

return fmt.Errorf("a bucket is mandatory when upload is gcs")

202 +

}

203 + 200 204

// Parse the connection information

201 205

l.Verboseln("processing input connection parameters")

202 206

conninfo, err := prepareConnInfo(opts.Host, opts.Port, opts.Username, opts.ConnDb)

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4