Skip to content

Conversation

@janelletavares
Copy link
Contributor

@janelletavares janelletavares commented Mar 30, 2023

…lag value

Description of change

URL is hardcoded for this resource type

Fixes #671

Type of change

  • New feature
  • Bug fix
  • Refactor
  • Documentation

How was this tested?

  • Unit Tests
  • Tested in staging
  • Tested in minikube

Demo

before after

Additional references

Documentation updated

@janelletavares janelletavares marked this pull request as ready for review March 31, 2023 08:58

if c.flags.Type != string(meroxa.ResourceTypeNotion) && c.flags.URL == "" {
if (c.flags.Type != string(meroxa.ResourceTypeNotion) &&
c.flags.Type != string(meroxa.ResourceTypeSpireMaritimeAIS)) &&
Copy link
Contributor

@nassor nassor Mar 31, 2023

Choose a reason for hiding this comment

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

Can a unit test case be added for that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure thing

@janelletavares janelletavares requested a review from nassor April 3, 2023 10:53
@janelletavares janelletavares merged commit 171a7aa into master Apr 3, 2023
@janelletavares janelletavares deleted the spire-maritime-ais branch April 3, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow spire maritime AIS resource instance to be created without a URL

3 participants