MCPcopy
hub / github.com/NVIDIA/aistore / missingArgumentsError

Function missingArgumentsError

cmd/cli/commands/err_utils.go:99–102  ·  view source on GitHub ↗
(c *cli.Context, missingArgs ...string)

Source from the content-addressed store, hash-verified

97}
98
99func missingArgumentsError(c *cli.Context, missingArgs ...string) error {
100 msg := fmt.Sprintf("missing arguments %q", strings.Join(missingArgs, ", "))
101 return _errUsage(c, msg)
102}
103
104func missingKeyValueError(c *cli.Context) error {
105 return missingArgumentsError(c, "attribute key=value pairs")

Callers 15

searchCmdHdlrFunction · 0.70
stopXactionHandlerFunction · 0.70
stopDownloadHandlerFunction · 0.70
stopDsortHandlerFunction · 0.70
removeDownloadHandlerFunction · 0.70
removeDsortHandlerFunction · 0.70
missingKeyValueErrorFunction · 0.70
detachRemoteAISHandlerFunction · 0.70
joinNodeHandlerFunction · 0.70
setPrimaryHandlerFunction · 0.70
waitXactionHandlerFunction · 0.70

Calls 2

_errUsageFunction · 0.85
JoinMethod · 0.80

Tested by

no test coverage detected