-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from nodeset-org/remove-stats
Deprecate `service stats`
- Loading branch information
Showing
4 changed files
with
12 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,11 @@ | ||
package service | ||
|
||
import ( | ||
"github.com/nodeset-org/hyperdrive/hyperdrive-cli/client" | ||
"github.com/urfave/cli/v2" | ||
"fmt" | ||
) | ||
|
||
// View the Hyperdrive service stats | ||
func serviceStats(c *cli.Context) error { | ||
// Get Hyperdrive client | ||
hd, err := client.NewHyperdriveClientFromCtx(c) | ||
if err != nil { | ||
return err | ||
} | ||
|
||
// Print service stats | ||
return hd.PrintServiceStats(getComposeFiles(c)) | ||
func serviceStats() error { | ||
fmt.Println("No longer supported - please run `docker stats -a` instead.") | ||
return nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
hyperdrive (1.1.0~b2) UNRELEASED; urgency=medium | ||
|
||
* The `service stats` command has been deprecated; for people that wanted to track container stats, we recommend just running `docker stats -a` instead. | ||
|
||
-- NodeSet Inc. <[email protected]> Thu, 26 Sep 2024 20:23:47 +0000 | ||
|
||
hyperdrive (1.1.0~b1) unstable; urgency=medium | ||
|
||
* Added the Constellation module. It can be accessed via the `hyperdrive cs` command. | ||
|