Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/root/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewPullCmd() *cobra.Command {
func runPullCommand(registryRef string) error {
slog.Debug("Starting pull", "registry_ref", registryRef)

fmt.Println("Pulling agent ", registryRef)
fmt.Println("Pulling agent", registryRef)

var opts []crane.Option
_, err := remote.Pull(registryRef, opts...)
Expand Down
2 changes: 1 addition & 1 deletion cmd/root/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func doRunCommand(ctx context.Context, args []string, exec bool) error {
// Treat as an OCI image reference. Try local store first, otherwise pull then load.
a, err := fromStore(agentFilename)
if err != nil {
fmt.Println("Pulling agent ", agentFilename)
fmt.Println("Pulling agent", agentFilename)
if _, pullErr := remote.Pull(agentFilename); pullErr != nil {
return fmt.Errorf("failed to pull OCI image %s: %w", agentFilename, pullErr)
}
Expand Down
Loading