Skip to content

Switch from iam user to role #995

Switch from iam user to role

Switch from iam user to role #995

GitHub Actions / golangci succeeded Dec 18, 2024 in 0s. View latest attempt.

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (50)

instrumentation/awsv2/awsv2.go|17 col 2| "github.com/aws/smithy-go/transport/http" imported but not used as smithyhttp (typecheck)
xray/aws.go|20 col 2| could not import unicode (-: could not load export data: cannot import "unicode" (unknown bexport format version -1 ("u\x01\x00\x00\x00\x00\x00\x00\x00A\x01\x00\x00C\x01\x00\x00H\x01\x00\x00J\x01\x00\x00r\x02\x00\x00\x8e\x03\x00\x00\xb6\x04\x00\x00\xde\x05\x00\x00\x06\a\x00\x00\x13\a\x00\x00\x00\x00\x00\x00\a\x00\x00\x00$\x00\x00\x00A\x00\x00\x00D\x00\x00\x00F\x00\x00\x00H\x00\x00\x00N\x00\x00\x00U\x00\x00\x00X\x00\x00\x00_\x00\x00\x00j\x00\x00\x00t\x00\x00\x00\x83\x00\x00\x00\x88\x00\x00\x00\x8c\x00\x00\x00\xa1\x00\x00\x00\xa7\x00\x00\x00\xaf\x00\x00\x00\xb6\x00\x00\x00\xd7\x00\x00\x00\xdc\x00\x00\x00\xe3\x00\x00\x00\xe7\x00\x00\x00\xe8\x00\x00\x00\xf1\x00\x00\x00\xf8\x00\x00\x00\xff\x00\x00\x00\x00\x01\x00\x00\a\x01\x00\x00\x0e\x01\x00\x00\x19\x01\x00\x00\x1d\x01\x00\x00&\x01\x00\x00.\x01\x00\x003\x01\x00\x00<\x01\x00\x00A\x01\x00\x00H\x01\x00\x00Q\x01\x00\x00]\x01\x00\x00e\x01\x00\x00k\x01\x00\x00r\x01\x00\x00z\x01\x00\x00\u007f\x01\x00\x00\x80\x01\x00\x00\x93\x01\x00\x00\x99\x01\x00\x00\xa3\x01\x00\x00\xad\x01\x00\x00\xbf\x01\x00\x00\xc1\x01\x00\x00\xc3\x01\x00\x00\xc9\x01\x00\x00\xcd\x01\x00\x00\xd5\x01\x00\x00\xdf\x01\x00\x00\xe1\x01\x00\x00\xe7\x01\x00\x00\xed\x01\x00\x00\xef\x01\x00\x00\xf8\x01\x00\x00\xff\x01\x00\x00\v\x02\x00\x00\x13\x02\x00\x00\x17\x02\x00\x00!\x02\x00\x00(\x02\x00\x002\x02\x00\x00;\x02\x00\x00@\x02\x00\x00K\x02\x00\x00P\x02\x00\x00X\x02\x00\x00l\x02\x00\x00s\x02\x00\x00z\x02\x00\x00\x82\x02\x00\x00\x8a\x02\x00\x00\x96\x02\x00\x00\xa0\x02\x00\x00\xa8\x02\x00\x00\xb2\x02\x00\x00\xb8\x02\x00\x00\xbf\x02\x00\x00\xdd\x02\x00\x00\xea\x02\x00\x00\xef\x02\x00\x00\xf7\x02\x00\x00\x04\x03\x00\x00\f\x03\x00\x00\x0f\x03\x00\x00\x15\x03\x00\x00$\x03\x00\x00+\x03\x00\x001\x03\x00\x007\x03\x00\x00@\x03\x00\x00H\x03\x00\x00N\x03\x00\x00a\x03\x00\x00u\x03\x00\x00\x80\x03\x00\x00\x90\x03\x00\x00\x96\x03\x00\x00\x98\x03\x00\x00\x9e\x03\x00\x00\xa6\x03\x00\x00\xa8\x03\x00\x00\xb1\x03\x00\x00\xc6\x03\x00\x00\xdc\x03\x00\x00\xe5\x03\x00\x00\xef\x03\x00\x00\v\x04\x00\x00\x12\x04\x00\x00"\x04\x00\x00+\x04\x00\x003\x04\x00\x009\x04\x00\x00@\x04\x00\x00E\x04\x00\x00K\x04\x00\x00O\x04\x00\x00W\x04\x00\x00]\x04\x00\x00d\x04\x00\x00k\x04\x00\x00r\x04\x00\x00w\x04\x00\x00~\x04\x00\x00\x86\x04\x00\x00\x8c\x04\x00\x00\x93\x04\x00\x00\x98\x04\x00\x00\x9f\x04\x00\x00\xa4\x04\x00\x00\xac\x04\x00\x00\xb8\x04\x00\x00\xbe\x04\x00\x00\xc5\x04\x00\x00\xcd\x04\x00\x00\xd1\x04\x00\x00\xd9\x04\x00\x00\xe3\x04\x00\x00\xf6\x04\x00\x00\xfb\x04\x00\x00\x01\x05\x00\x00")), possibly version skew - reinstall package) (typecheck)
xray/sqlcontext_test.go|22 col 26| undeclared name: sqlmock (typecheck)
xray/sqlcontext_test.go|28 col 21| undeclared name: sqlmock (typecheck)
xray/sqlcontext_test.go|34 col 21| undeclared name: sqlmock (typecheck)
xray/aws.go|106 col 11| curseg.RLock undefined (type *Segment has no field or method RLock) (typecheck)
xray/aws.go|109 col 11| curseg.RUnlock undefined (type *Segment has no field or method RUnlock) (typecheck)
xray/aws.go|218 col 10| opseg.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/aws.go|244 col 10| opseg.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/client.go|82 col 7| seg.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/client.go|94 col 7| seg.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/client.go|99 col 8| seg.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/client.go|112 col 8| seg.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/config.go|188 col 12| globalCfg.Lock undefined (type *globalConfig has no field or method Lock) (typecheck)
xray/config.go|189 col 18| globalCfg.Unlock undefined (type *globalConfig has no field or method Unlock) (typecheck)
xray/config.go|249 col 4| c.RLock undefined (type *globalConfig has no field or method RLock) (typecheck)
xray/config.go|250 col 10| c.RUnlock undefined (type *globalConfig has no field or method RUnlock) (typecheck)
xray/config.go|255 col 4| c.RLock undefined (type *globalConfig has no field or method RLock) (typecheck)
xray/config.go|256 col 10| c.RUnlock undefined (type *globalConfig has no field or method RUnlock) (typecheck)
xray/config.go|261 col 4| c.RLock undefined (type *globalConfig has no field or method RLock) (typecheck)
xray/config.go|262 col 10| c.RUnlock undefined (type *globalConfig has no field or method RUnlock) (typecheck)
xray/default_emitter.go|40 col 5| de.Lock undefined (type *DefaultEmitter has no field or method Lock) (typecheck)
xray/default_emitter.go|42 col 5| de.Unlock undefined (type *DefaultEmitter has no field or method Unlock) (typecheck)
xray/default_emitter.go|75 col 6| de.Lock undefined (type *DefaultEmitter has no field or method Lock) (typecheck)
xray/default_emitter.go|79 col 8| de.Unlock undefined (type *DefaultEmitter has no field or method Unlock) (typecheck)
xray/default_emitter.go|88 col 6| de.Unlock undefined (type *DefaultEmitter has no field or method Unlock) (typecheck)
xray/default_emitter.go|114 col 5| s.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/default_emitter.go|119 col 5| s.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/default_streaming_strategy.go|72 col 9| child.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/default_streaming_strategy.go|80 col 9| child.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/fasthttp.go|94 col 6| seg.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/fasthttp.go|96 col 6| seg.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/handler.go|122 col 71| capturer.Header undefined (type *responseCapturer has no field or method Header) (typecheck)
xray/segment.go|320 col 9| parent.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/segment.go|323 col 9| parent.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/segment.go|488 col 4| s.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/segment.go|491 col 6| s.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/segment.go|496 col 5| s.Unlock undefined (type *Segment has no field or method Unlock) (typecheck)
xray/segment.go|499 col 5| s.Lock undefined (type *Segment has no field or method Lock) (typecheck)
xray/segment.go|524 col 6| seg.RLock undefined (type *Segment has no field or method RLock) (typecheck)
xray/segment.go|526 col 6| seg.RUnlock undefined (type *Segment has no field or method RUnlock) (typecheck)
xray/segment.go|532 col 6| seg.RLock undefined (type *Segment has no field or method RLock) (typecheck)
xray/segment.go|534 col 6| seg.RUnlock undefined (type *Segment has no field or method RUnlock) (typecheck)
xray/sql_context.go|497 col 3| d declared but not used (typecheck)
xray/sql_context.go|21 col 2| "strconv" imported but not used (typecheck)
xray/sql_context.go|24 col 2| "time" imported but not used (typecheck)
xray/handler_test.go|12 col 2| "io" imported but not used (typecheck)
xray/sql_go110_test.go|19 col 2| "github.com/DATA-DOG/go-sqlmock" imported but not used (typecheck)
xray/sql_go111_test.go|16 col 2| "github.com/DATA-DOG/go-sqlmock" imported but not used (typecheck)
xray/sqlcontext_test.go|16 col 2| "github.com/DATA-DOG/go-sqlmock" imported but not used (typecheck)