Skip to content

Commit

Permalink
Two more capital V.
Browse files Browse the repository at this point in the history
  • Loading branch information
neunhoef committed Oct 31, 2018
1 parent 86fbeb0 commit 41e15a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/deployment/v1alpha/deployment_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (s DeploymentSpec) IsDisableIPv6() bool {
return util.BoolOrDefault(s.DisableIPv6)
}

// GetListenAddr returns "[::]" or "0.0.0.0" depending on IsDisableIPV6
// GetListenAddr returns "[::]" or "0.0.0.0" depending on IsDisableIPv6
func (s DeploymentSpec) GetListenAddr() string {
if s.IsDisableIPv6() {
return "0.0.0.0"
Expand Down Expand Up @@ -288,7 +288,7 @@ func (s DeploymentSpec) ResetImmutableFields(target *DeploymentSpec) []string {
}
if s.IsDisableIPv6() != target.IsDisableIPv6() {
target.DisableIPv6 = util.NewBoolOrNil(s.DisableIPv6)
resetFields = append(resetFields, "disableIPV6")
resetFields = append(resetFields, "disableIPv6")
}
if l := s.ExternalAccess.ResetImmutableFields("externalAccess", &target.ExternalAccess); l != nil {
resetFields = append(resetFields, l...)
Expand Down

0 comments on commit 41e15a4

Please sign in to comment.