MCPcopy Create free account
hub / github.com/AdRoll/baker / fillDefaults

Method fillDefaults

input/list.go:64–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (cfg *ListConfig) fillDefaults() {
65 if cfg.MatchPath == "" {
66 cfg.MatchPath = ".*\\.log\\.gz"
67 }
68
69 if cfg.Region == "" {
70 cfg.Region = "us-west-2"
71 }
72
73 if len(cfg.Files) == 0 {
74 cfg.Files = []string{"-"}
75 }
76}
77
78type List struct {
79 ci *inpututils.CompressedInput

Callers 1

NewListFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected