Skip to content

Commit

Permalink
updated text of messages for creating and updating preview
Browse files Browse the repository at this point in the history
  • Loading branch information
the38th authored and zipofar committed Sep 14, 2022
1 parent 51282bd commit d5cfdfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/uffizzi/cli/preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def handle_create_command(file_path, project_slug, labels)
end

deployment = response[:body][:deployment]
Uffizzi.ui.say("Preview created with name deployment-#{deployment[:id]}")
Uffizzi.ui.say("Preview with ID deployment-#{deployment[:id]} was created.")

success = PreviewService.run_containers_deploy(project_slug, deployment)

Expand All @@ -121,7 +121,7 @@ def handle_update_command(deployment_name, file_path, project_slug, labels)
end

deployment = response[:body][:deployment]
Uffizzi.ui.say("Preview with ID deployment-#{deployment_id} was successfully updated.")
Uffizzi.ui.say("Preview with ID deployment-#{deployment_id} was updated.")

success = PreviewService.run_containers_deploy(project_slug, deployment)

Expand Down

0 comments on commit d5cfdfb

Please sign in to comment.