Skip to content

Commit

Permalink
lxd/storage_volumes: Fix format string (govet)
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Pelizäus <[email protected]>
  • Loading branch information
roosterfish committed Aug 16, 2024
1 parent f1bbf08 commit 6c0c05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/storage_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -2691,7 +2691,7 @@ func addStoragePoolVolumeDetailsToRequestContext(s *state.State, r *http.Request
// Convert the volume type name to our internal integer representation.
volumeType, err := storagePools.VolumeTypeNameToDBType(volumeTypeName)
if err != nil {
return api.StatusErrorf(http.StatusBadRequest, err.Error())
return api.StatusErrorf(http.StatusBadRequest, "%s", err.Error())
}

details.volumeType = volumeType
Expand Down

0 comments on commit 6c0c05f

Please sign in to comment.