mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
client: Fixed non-constant format string in call to fmt.Errorf
Signed-off-by: Robby Callicotte <rcallicotte@fedoraproject.org>
This commit is contained in:
committed by
Stéphane Graber
parent
c1175bec40
commit
81803ecdb9
@@ -474,7 +474,7 @@ func (r *ProtocolIncus) rawWebsocket(url string) (*websocket.Conn, error) {
|
||||
}
|
||||
|
||||
if apiResp != nil && apiResp.Error != "" {
|
||||
err = errors.Join(err, fmt.Errorf(apiResp.Error))
|
||||
err = errors.Join(err, errors.New(apiResp.Error))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user