Auto create runners for pools
This commit is contained in:
parent
0314fd3b67
commit
a78ad539fe
10 changed files with 371 additions and 239 deletions
|
|
@ -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...),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue