Skip to content

Commit

Permalink
Updated comment on the accelerator type value
Browse files Browse the repository at this point in the history
Signed-off-by: Johnny Yip <jcyip@google.com>
  • Loading branch information
yippyyipyip authored and ser-io committed Jan 17, 2025
1 parent b61dcc3 commit 2a2a023
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/v1/instancemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ type GCPInstance struct {
type AcceleratorConfig struct {
// Number of accelerators.
AcceleratorCount int64 `json:"accelerator_count,omitempty"`
// Full or partial URL of the accelerator type resource.
// For example: `projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100`
// Name of the accelerator type (e.g. nvidia-tesla-p100).
AcceleratorType string `json:"accelerator_type,omitempty"`
}

Expand Down

0 comments on commit 2a2a023

Please sign in to comment.