MCPcopy Index your code
hub / github.com/cortexlabs/cortex / ErrorAuthOtherAccount

Function ErrorAuthOtherAccount

pkg/operator/endpoints/errors.go:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88func ErrorAuthOtherAccount() error {
89 return errors.WithStack(&errors.Error{
90 Kind: ErrAuthOtherAccount,
91 Message: "the AWS account associated with your CLI's AWS credentials differs from the AWS account associated with your cluster's AWS credentials; run `aws sts get-caller-identity` to view the credentials being used by the cortex client",
92 })
93}
94
95func ErrorFormFileMustBeProvided(fileName string) error {
96 return errors.WithStack(&errors.Error{

Callers 1

AWSAuthMiddlewareFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected