Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yojay11717 committed Jan 10, 2023
1 parent 39280c3 commit dd77933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/metrics-server/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
)

type Options struct {
// genericoptions.ReccomendedOptions - EtcdOptions
// genericoptions.RecomendedOptions - EtcdOptions
SecureServing *genericoptions.SecureServingOptionsWithLoopback
Authentication *genericoptions.DelegatingAuthenticationOptions
Authorization *genericoptions.DelegatingAuthorizationOptions
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func uint64Quantity(val uint64, format resource.Format, scale resource.Scale) re
if val > math.MaxInt64 {
// lose an decimal order-of-magnitude precision,
// so we can fit into a scaled quantity
klog.V(2).InfoS("Found unexpectedly large resource value, loosing precision to fit in scaled resource.Quantity", "value", val)
klog.V(2).InfoS("Found unexpectedly large resource value, losing precision to fit in scaled resource.Quantity", "value", val)
q = *resource.NewScaledQuantity(int64(val/10), resource.Scale(1)+scale)
}
q.Format = format
Expand Down

0 comments on commit dd77933

Please sign in to comment.