File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 95
95
buildFat = osArch :
96
96
pkgs . buildGo121Module {
97
97
name = "coder-${ osArch } " ;
98
- # Updated with ./scripts/update-flake.nix `.
98
+ # Updated with ./scripts/update-flake.sh `.
99
99
# This should be updated whenever go.mod changes!
100
- vendorHash = "sha256-pTRr85MtdlsI0iYGAwLAQ3QvtrDR8rDOynYx8FDaRy0 =" ;
100
+ vendorHash = "sha256-YOqgW5v7qXfOYcCQECZyJfoewChtQDfRCrTcr7Ui37Y =" ;
101
101
proxyVendor = true ;
102
102
src = ./. ;
103
103
nativeBuildInputs = with pkgs ; [ getopt openssl zstd ] ;
Original file line number Diff line number Diff line change @@ -161,9 +161,9 @@ require (
161
161
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
162
162
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e
163
163
github.com/pkg/sftp v1.13.6
164
- github.com/prometheus/client_golang v1.18.0
164
+ github.com/prometheus/client_golang v1.19.1
165
165
github.com/prometheus/client_model v0.6.0
166
- github.com/prometheus/common v0.47 .0
166
+ github.com/prometheus/common v0.48 .0
167
167
github.com/quasilyte/go-ruleguard/dsl v0.3.21
168
168
github.com/robfig/cron/v3 v3.0.1
169
169
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
Original file line number Diff line number Diff line change @@ -773,13 +773,13 @@ github.com/pkg/profile v1.6.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdL
773
773
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
774
774
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U =
775
775
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
776
- github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk =
777
- github.com/prometheus/client_golang v1.18.0 /go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA =
776
+ github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE =
777
+ github.com/prometheus/client_golang v1.19.1 /go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho =
778
778
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 /go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA =
779
779
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos =
780
780
github.com/prometheus/client_model v0.6.0 /go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8 =
781
- github.com/prometheus/common v0.47 .0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k =
782
- github.com/prometheus/common v0.47 .0 /go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc =
781
+ github.com/prometheus/common v0.48 .0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE =
782
+ github.com/prometheus/common v0.48 .0 /go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc =
783
783
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo =
784
784
github.com/prometheus/procfs v0.12.0 /go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo =
785
785
github.com/quasilyte/go-ruleguard/dsl v0.3.21 h1:vNkC6fC6qMLzCOGbnIHOd5ixUGgTbp3Z4fGnUgULlDA =
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ func readMetrics() ([]*dto.MetricFamily, error) {
64
64
65
65
var metrics []* dto.MetricFamily
66
66
67
- decoder := expfmt .NewDecoder (f , expfmt .FmtProtoText )
67
+ decoder := expfmt .NewDecoder (f , expfmt .NewFormat ( expfmt . TypeProtoText ) )
68
68
for {
69
69
var m dto.MetricFamily
70
70
err = decoder .Decode (& m )
You can’t perform that action at this time.
0 commit comments