diff --git a/pkg/gridtypes/zos/zmachine.go b/pkg/gridtypes/zos/zmachine.go index 793a289cf..2f755c622 100644 --- a/pkg/gridtypes/zos/zmachine.go +++ b/pkg/gridtypes/zos/zmachine.go @@ -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") diff --git a/pkg/vm.go b/pkg/vm.go index e0c5991ef..d160208b8 100644 --- a/pkg/vm.go +++ b/pkg/vm.go @@ -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