Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
5546c208de
|
|||
2de32a6ce8
|
@ -17,7 +17,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: locsrv
|
- name: locsrv
|
||||||
image: gitea.hottis.de/wn/locsrv:%IMAGETAG%
|
image: %IMAGE%
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: locsrv-db-cred
|
name: locsrv-db-cred
|
||||||
|
@ -37,7 +37,7 @@ func (self *DatabaseHandle) GetPersonById(id string) (string, error) {
|
|||||||
|
|
||||||
var person Person
|
var person Person
|
||||||
result := self.dbh.
|
result := self.dbh.
|
||||||
Where("persons.id = ?", id).
|
Where("id = ?", id).
|
||||||
First(&person)
|
First(&person)
|
||||||
|
|
||||||
if result.Error != nil {
|
if result.Error != nil {
|
||||||
|
Reference in New Issue
Block a user