mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
integration-cli: remove some redundant fmt.Sprintf()'s
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user