Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rawdaGastan committed Sep 17, 2023
1 parent 575f520 commit 03d48f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/gridtypes/zos/zmachine.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (v ZMachine) Valid(getter gridtypes.WorkloadGetter) error {
}
}
if v.ComputeCapacity.CPU == 0 {
return fmt.Errorf("cpu capcity can't be 0")
return fmt.Errorf("cpu capacity can't be 0")
}
if v.ComputeCapacity.Memory < 250*gridtypes.Megabyte {
return fmt.Errorf("mem capacity can't be less that 250M")
Expand Down
2 changes: 1 addition & 1 deletion pkg/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (n *NetMetric) Nu() float64 {
}

// MachineMetric is a container for metrics from multiple networks
// currently only groped as private (wireguard + yggdrasil), and public (public Ips)
// currently only grouped as private (wireguard + yggdrasil), and public (public Ips)
type MachineMetric struct {
Private NetMetric
Public NetMetric
Expand Down

0 comments on commit 03d48f6

Please sign in to comment.