Skip to content

Conversation

lahirumaramba
Copy link
Member

  • Implement publishTemplate()
  • Add force publish support
  • Add unit tests for publish template

Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

Looks pretty good. Just a couple of suggestions in response to your comments.

.to.throw('ETag must be a non-empty string.');
});
});

Copy link
Member Author

Choose a reason for hiding this comment

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

New test case for null, undefined, and empty etags.

Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

LGTM with a suggestion.

Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

LGTM with a suggestion.

'invalid-argument',
'ETag must be a non-empty string.');
}
const path = validateOnly ? 'remoteConfig?validate_only=true' : 'remoteConfig';
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const path = validateOnly ? 'remoteConfig?validate_only=true' : 'remoteConfig';
let path = 'remoteConfig';
if (validateOnly) {
path += '?validate_only=true';
}

@lahirumaramba lahirumaramba merged commit 9060bc3 into remote-config Mar 17, 2020
@lahirumaramba lahirumaramba deleted the lm_rc_publish_template branch March 17, 2020 18:48
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.

2 participants