change 'buildtime' to 'builddate'
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
b4bedf8c9c
commit
7b39cd35a2
50
config.pb.go
50
config.pb.go
|
@ -38,7 +38,7 @@ type Config struct {
|
|||
Dirty bool `protobuf:"varint,14,opt,name=dirty,proto3" json:"dirty,omitempty"`
|
||||
Gitref string `protobuf:"bytes,15,opt,name=gitref,proto3" json:"gitref,omitempty"`
|
||||
Version string `protobuf:"bytes,16,opt,name=version,proto3" json:"version,omitempty"`
|
||||
Buildtime string `protobuf:"bytes,17,opt,name=buildtime,proto3" json:"buildtime,omitempty"`
|
||||
Builddate int64 `protobuf:"varint,17,opt,name=builddate,proto3" json:"builddate,omitempty"`
|
||||
Goversion string `protobuf:"bytes,18,opt,name=goversion,proto3" json:"goversion,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
|
@ -182,11 +182,11 @@ func (m *Config) GetVersion() string {
|
|||
return ""
|
||||
}
|
||||
|
||||
func (m *Config) GetBuildtime() string {
|
||||
func (m *Config) GetBuilddate() int64 {
|
||||
if m != nil {
|
||||
return m.Buildtime
|
||||
return m.Builddate
|
||||
}
|
||||
return ""
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Config) GetGoversion() string {
|
||||
|
@ -203,25 +203,25 @@ func init() {
|
|||
func init() { proto.RegisterFile("config.proto", fileDescriptor_3eaf2c85e69e9ea4) }
|
||||
|
||||
var fileDescriptor_3eaf2c85e69e9ea4 = []byte{
|
||||
// 317 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0x4d, 0x6a, 0xc3, 0x30,
|
||||
0x10, 0x85, 0x71, 0x93, 0x38, 0xce, 0x38, 0xe9, 0x8f, 0x08, 0x65, 0x08, 0xa5, 0x98, 0xae, 0xbc,
|
||||
0x32, 0xa5, 0x85,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0x47, 0xb4, 0x89, 0xb8, 0x52, 0x52, 0x69, 0x04, 0x97, 0xc8, 0x11, 0x4d, 0xa8, 0x4c, 0x37,
|
||||
0x5c, 0x63, 0x38, 0x4c, 0x38, 0xb4, 0x79, 0x48, 0xe2, 0x9a, 0xae, 0xe5, 0xc0, 0xbe, 0xe1, 0xc7,
|
||||
0xfe, 0xf8, 0x82, 0x1b, 0xf7, 0x86, 0x56, 0x53, 0x72, 0xa1, 0xcc, 0x0f, 0x5e, 0x0e, 0xc9, 0x2d,
|
||||
0xd8, 0x13, 0x6b, 0x61, 0x14, 0xaf, 0xf0, 0x8a, 0x7a, 0x07, 0xb2, 0x27, 0x1e, 0xb9, 0xd2, 0x42,
|
||||
0x76, 0x78, 0x4d, 0xc6, 0x88, 0xec, 0x0e, 0x56, 0x79, 0x2f, 0xda, 0xd2, 0x88, 0x03, 0xc7, 0x1b,
|
||||
0xf2, 0xfe, 0x0b, 0xd6, 0xad, 0xe5, 0x38, 0xc9, 0x9c, 0x3b, 0x15, 0x72, 0x9f, 0x7e, 0xfb, 0xf9,
|
||||
0x2f, 0x00, 0x00, 0xff, 0xff, 0x94, 0x45, 0x71, 0x71, 0x19, 0x02, 0x00, 0x00,
|
||||
// 319 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0x5d, 0x4b, 0xc3, 0x30,
|
||||
0x14, 0x86, 0xa9, 0xdd, 0xba, 0xee, 0x6c, 0xf3, 0x23, 0x0c, 0x39, 0x0c, 0x91, 0xe2, 0x55, 0xaf,
|
||||
0x86, 0x28, 0x78, 0x2f, 0xe2, 0x85, 0x77, 0x23, 0xe2, 0x0f, 0xe8, 0x47, 0xda, 0x06, 0x6a, 0x23,
|
||||
0x49, 0xba, 0xe1, 0xff, 0xf5, 0x87, 0x48, 0x4e, 0xda, 0x6d, 0x77, 0xef, 0x73, 0x3e, 0xde, 0xe4,
|
||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0xdd,
|
||||
0xfe, 0x05, 0x57, 0xfe, 0x0d, 0x9d, 0xa6, 0xe4, 0x52, 0xdb, 0x5f, 0xbc, 0x1c, 0x92, 0x3b, 0x70,
|
||||
0x27, 0xd6, 0xd2, 0x6a, 0x51, 0xe1, 0x15, 0xcd, 0x0e, 0xe4, 0x4e, 0xdc, 0x0b, 0x6d, 0xa4, 0xea,
|
||||
0xf0, 0x9a, 0x1a, 0x23, 0xb2, 0x3b, 0x98, 0xe7, 0xbd, 0x6c, 0xcb, 0x32, 0xb3, 0x02, 0x6f, 0x92,
|
||||
0x20, 0x0d, 0xf9, 0xa9, 0xe0, 0xba, 0xb5, 0x1a, 0x37, 0x19, 0x6d, 0x9e, 0x0a, 0x79, 0x44, 0xbf,
|
||||
0xfd, 0xfc, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x56, 0x18, 0xac, 0xd2, 0x19, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -22,6 +22,6 @@ message Config {
|
|||
bool dirty = 14; // if the build was 'dirty'
|
||||
string gitref = 15; // git rev-list -1 HEAD
|
||||
string version = 16; // the VERSION file
|
||||
string buildtime = 17; // the build time
|
||||
int64 builddate = 17; // the build time in seconds since epoch
|
||||
string goversion = 18; // the version of go used to build
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue