integration-cli: remove some redundant fmt.Sprintf()'s

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-02-15 12:50:21 +01:00
parent 7e06add3c8
commit abaf4b25d7
2 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ func (d *Daemon) inspectFilter(name, filter string) (string, error) {
}
func (d *Daemon) inspectFieldWithError(name, field string) (string, error) {
return d.inspectFilter(name, fmt.Sprintf(".%s", field))
return d.inspectFilter(name, "."+field)
}
// CheckActiveContainerCount returns the number of active containers