Auto create runners for pools

This commit is contained in:
Gabriel Adrian Samfira 2022-04-29 16:08:31 +00:00
parent 0314fd3b67
commit a78ad539fe
10 changed files with 371 additions and 239 deletions

View file

@ -41,10 +41,10 @@ type UnauthorizedError struct {
}
// NewNotFoundError returns a new NotFoundError
func NewNotFoundError(msg string) error {
func NewNotFoundError(msg string, a ...interface{}) error {
return &NotFoundError{
baseError{
msg: msg,
msg: fmt.Sprintf(msg, a...),
},
}
}