MCPcopy
hub / github.com/grafana/tempo / printLimits

Function printLimits

integration/api/overrides_api_test.go:789–798  ·  view source on GitHub ↗

Helper functions for overrides API tests

(limits *client.Limits, version string)

Source from the content-addressed store, hash-verified

787// Helper functions for overrides API tests
788
789func printLimits(limits *client.Limits, version string) {
790 var str string
791 if limits != nil {
792 bytes, err := json.Marshal(limits)
793 if err == nil {
794 str = string(bytes)
795 }
796 }
797 fmt.Printf("* Overrides (version = %s): %+v\n", version, str)
798}
799
800func boolPtr(b bool) *bool {
801 return &b

Callers 1

Calls 1

MarshalMethod · 0.65

Tested by

no test coverage detected