diff --git a/yaml/network.go b/yaml/network.go index d56ca4e08..47031b2f5 100644 --- a/yaml/network.go +++ b/yaml/network.go @@ -22,7 +22,7 @@ type Network struct { IPv6Address string `yaml:"ipv6_address,omitempty"` } -// Generate a hash string to detect service network config changes +// HashString: Generate a hash string to detect service network config changes func (n *Networks) HashString() string { if n == nil { return "" @@ -35,7 +35,7 @@ func (n *Networks) HashString() string { return strings.Join(result, ",") } -// Generate a hash string to detect service network config changes +// HashString: Generate a hash string to detect service network config changes func (n *Network) HashString() string { if n == nil { return "" diff --git a/yaml/volume.go b/yaml/volume.go index 8eabe572a..28e8122d9 100644 --- a/yaml/volume.go +++ b/yaml/volume.go @@ -20,7 +20,7 @@ type Volume struct { AccessMode string `yaml:"-"` } -// Generate a hash string to detect service volume config changes +// HashString: Generate a hash string to detect service volume config changes func (v *Volumes) HashString() string { if v == nil { return ""