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

Method run

output/dyndb.go:148–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148func (dp *dynamoProcess) run() {
149 for req := range dp.in {
150 if err := dp.doRequest(req); err != nil {
151 log.WithError(err).Error("error writing to DynamoDB")
152 dp.out <- false
153 } else {
154 dp.out <- true
155 }
156 }
157}
158
159func (dp *dynamoProcess) BeginWriting(req *dynamodb.BatchWriteItemInput) {
160 dp.in <- req

Callers 1

newDynamoProcessFunction · 0.95

Calls 2

doRequestMethod · 0.95
ErrorMethod · 0.45

Tested by

no test coverage detected