Fix annotation typo errors
Signed-off-by: JoeWrightss <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
0b0d6e6bdd
commit
17b77aeb0e
@ -997,7 +997,7 @@ var contentSeed int64
|
|||||||
|
|
||||||
func createContent(size int64) ([]byte, digest.Digest) {
|
func createContent(size int64) ([]byte, digest.Digest) {
|
||||||
// each time we call this, we want to get a different seed, but it should
|
// each time we call this, we want to get a different seed, but it should
|
||||||
// be related to the intitialization order and fairly consistent between
|
// be related to the initialization order and fairly consistent between
|
||||||
// test runs. An atomic integer works just good enough for this.
|
// test runs. An atomic integer works just good enough for this.
|
||||||
seed := atomic.AddInt64(&contentSeed, 1)
|
seed := atomic.AddInt64(&contentSeed, 1)
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ var (
|
|||||||
// Validate return nil if the string s is a valid identifier.
|
// Validate return nil if the string s is a valid identifier.
|
||||||
//
|
//
|
||||||
// identifiers must be valid domain names according to RFC 1035, section 2.3.1. To
|
// identifiers must be valid domain names according to RFC 1035, section 2.3.1. To
|
||||||
// enforce case insensitvity, all characters must be lower case.
|
// enforce case insensitivity, all characters must be lower case.
|
||||||
//
|
//
|
||||||
// In general, identifiers that pass this validation, should be safe for use as
|
// In general, identifiers that pass this validation, should be safe for use as
|
||||||
// a domain names or filesystem path component.
|
// a domain names or filesystem path component.
|
||||||
|
Loading…
Reference in New Issue
Block a user