initial permissions endpoint implementation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -111,7 +111,9 @@ func (s *Safe) SafeAdd() (*Safe, error) {
|
||||
log.Printf("safe: %v\n", s)
|
||||
}
|
||||
} else {
|
||||
log.Printf("SafeAdd safe name already exists : '%v'\n", err)
|
||||
errString := "safe with name already exists"
|
||||
log.Printf("SafeAdd %s\n", errString)
|
||||
return &Safe{}, errors.New(errString)
|
||||
}
|
||||
|
||||
return s, nil
|
||||
|
Reference in New Issue
Block a user