variable: fixup metadata copy comment and remove unrequired type. (#17234)
This commit is contained in:
parent
552dc06b1d
commit
96f7c84e4e
|
@ -219,9 +219,10 @@ func (vd *VariableDecrypted) Canonicalize() {
|
|||
}
|
||||
}
|
||||
|
||||
// GetNamespace returns the variable's namespace. Used for pagination.
|
||||
// Copy returns a fully hydrated copy of VariableMetadata that can be
|
||||
// manipulated while ensuring the original is not touched.
|
||||
func (sv *VariableMetadata) Copy() *VariableMetadata {
|
||||
var out VariableMetadata = *sv
|
||||
var out = *sv
|
||||
return &out
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue