the metadata is always true

pull/9527/head
xiaorunkun 5 years ago
parent d55c53df4e
commit 3eca99fffd

@ -53,9 +53,6 @@ type BuildInfo struct {
// GetVersion returns the semver string of the version
func GetVersion() string {
if metadata == "" {
return version
}
return version + "+" + metadata
}

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
/*Package gates provides a general tool for working with experimental feature gates.
/*Package gates provide a general tool for working with experimental feature gates.
This provides convenience methods where the user can determine if certain experimental features are enabled.
*/

Loading…
Cancel
Save