Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing warning when dependencies are already registered #766

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

ryan-cahill
Copy link
Member

Overview

Closes https://gitlab.com/architect-io/architect-cli/-/issues/574 by making sure that there are actually dependencies to warn about before warning

Changes

  • Fixed array checks for warnings
  • Used \n char in places where the warning should start after an empty line

Tests

  • Registered superset

Copy link
Contributor

@mtgoncalves1 mtgoncalves1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes looked good.

Copy link
Contributor

@TylerAldrich TylerAldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just saw this in that deployment log I screenshotted and was wondering what was up, this is very timely, thanks 😄

@TylerAldrich TylerAldrich merged commit a593ea9 into rc Nov 30, 2022
@TylerAldrich TylerAldrich deleted the dependency-warning-fix branch November 30, 2022 15:41
github-actions bot pushed a commit that referenced this pull request Nov 30, 2022
# [1.29.0-rc.8](v1.29.0-rc.7...v1.29.0-rc.8) (2022-11-30)

### Bug Fixes

* **register:** Fix warning when dependencies are already registered ([#766](#766)) ([a593ea9](a593ea9))
github-actions bot pushed a commit that referenced this pull request Dec 1, 2022
# [1.29.0](v1.28.0...v1.29.0) (2022-12-01)

### Bug Fixes

* **cluster:** Updated examples to remove type flag. ([4e58979](4e58979))
* **dev:** Fix race condition inspecting containers that no longer exist, fixed bug with service_ref / full_service_name being incorrect, only log healthcheck once each time it happens ([#763](#763)) ([734356a](734356a))
* **register:** Default register path to ./architect.yml ([#765](#765)) ([01fa335](01fa335))
* **register:** Fix warning when dependencies are already registered ([#766](#766)) ([a593ea9](a593ea9))
* **validation:** validator for looser validation on account names ([#761](#761)) ([93d6859](93d6859))

### Features

* **dev:** loading a .env file for architect environment variables ([#753](#753)) ([dc0f0bc](dc0f0bc))
* **dev:** Log errors when liveness probe fails ([#759](#759)) ([0c65d19](0c65d19))
* **environment:create:** Warn when environment creation fails due to already existing environment ([#556](#556)) ([bb17f80](bb17f80))
* **init:** Support creating projects from Architect templates ([#612](#612)) ([45283a0](45283a0)), closes [#695](#695)
* **secrets:** Allow secrets from a remote env to be used in local development ([012e459](012e459))
@github-actions
Copy link

github-actions bot commented Dec 1, 2022

🎉 This PR is included in version 1.29.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants