mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
minor error improvement to match AWS docs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> Co-authored-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
parent
101e1555b8
commit
b22ebd61c4
@ -92,7 +92,7 @@ func guessMachineType(project *types.Project) (string, error) {
|
|||||||
filter(func(m machine) bool {
|
filter(func(m machine) bool {
|
||||||
return m.gpus >= requirements.gpus
|
return m.gpus >= requirements.gpus
|
||||||
}).
|
}).
|
||||||
firstOrError("none of the AWS p3 machines match requirement for memory:%d cpu:%f gpus:%d", requirements.memory, requirements.cpus, requirements.gpus)
|
firstOrError("none of the Amazon EC2 P3 instance types meet the requirements for memory:%d cpu:%f gpus:%d", requirements.memory, requirements.cpus, requirements.gpus)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user