feat: replication bucket name (#440)
* chore: gofmt * chore: update openapi gen files * feat: add replication-bucket-name flag * fix: fix tests * chore: rename to replication-bucket * feat: show remote bucket name or id * chore: fmt fixup * chore: update openapi to master * chore: fix openapi generation
This commit is contained in:
@ -198,11 +198,11 @@ func ignoreLeadingComment(value string) string {
|
||||
|
||||
// parseTimeZone parses the supplied timezone from a string into a time.Location
|
||||
//
|
||||
// parseTimeZone("") // time.UTC
|
||||
// parseTimeZone("local") // time.Local
|
||||
// parseTimeZone("-0500") // time.FixedZone(-5*3600 + 0*60)
|
||||
// parseTimeZone("+0200") // time.FixedZone(2*3600 + 0*60)
|
||||
// parseTimeZone("EST") // time.LoadLocation("EST")
|
||||
// parseTimeZone("") // time.UTC
|
||||
// parseTimeZone("local") // time.Local
|
||||
// parseTimeZone("-0500") // time.FixedZone(-5*3600 + 0*60)
|
||||
// parseTimeZone("+0200") // time.FixedZone(2*3600 + 0*60)
|
||||
// parseTimeZone("EST") // time.LoadLocation("EST")
|
||||
func parseTimeZone(val string) (*time.Location, error) {
|
||||
switch {
|
||||
case val == "":
|
||||
|
@ -110,7 +110,7 @@ func Test_CsvTable_FluxQueryResult(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
//Test_IgnoreLeadingComment tests ignoreLeadingComment fn
|
||||
// Test_IgnoreLeadingComment tests ignoreLeadingComment fn
|
||||
func Test_IgnoreLeadingComment(t *testing.T) {
|
||||
var tests = []struct {
|
||||
value string
|
||||
|
@ -25,7 +25,7 @@ func (mc *multiCloser) Close() error {
|
||||
return err
|
||||
}
|
||||
|
||||
//MultiCloser creates an io.Closer that silently closes supplied io.Closer instances
|
||||
// MultiCloser creates an io.Closer that silently closes supplied io.Closer instances
|
||||
func MultiCloser(closers ...io.Closer) io.Closer {
|
||||
c := make([]io.Closer, len(closers))
|
||||
copy(c, closers)
|
||||
|
Reference in New Issue
Block a user