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

Allow numbers for mtu #16

Merged
merged 1 commit into from
Jan 27, 2014
Merged

Conversation

bodepd
Copy link

@bodepd bodepd commented Jan 27, 2014

Currently, the implementation of the esx_portgroup
type does not support numbers as arguments b/c they
call a string method strip on all values.

This patch ensures that all values are converted into
strings before strip is called on them.

It also updates the unit tests to ensure that numbers
can be passed in as arguments to this type.

I had a few issues running the tests:

  • many of the tests from this file seemed to fail
    b/c enabled with a capital letter 'E' is not supported.
  • I encountered additional test failures b/c it called
    the method stub instead of stubs (which I believe is
    related to running the tests without mocha enabled
    for mocking)

Currently, the implementation of the esx_portgroup
type does not support numbers as arguments b/c they
call a string method strip on all values.

This patch ensures that all values are converted into
strings before strip is called on them.

It also updates the unit tests to ensure that numbers
can be passed in as arguments to this type.

I had a few issues running the tests:

- many of the tests from this file seemed to fail
b/c enabled with a capital letter 'E' is not supported.

- I encountered additional test failures b/c it called
the method stub instead of stubs (which I believe is
related to running the tests without mocha enabled
for mocking)
gavin-scott added a commit that referenced this pull request Jan 27, 2014
@gavin-scott gavin-scott merged commit bd4bf0a into dell-asm:master Jan 27, 2014
dmohanty09 pushed a commit to dmohanty09/vmware-vcenter that referenced this pull request Jun 20, 2014
gavin-scott added a commit to gavin-scott/vmware-vcenter that referenced this pull request May 5, 2020
Revert "VXFM-11323 Re-enable VIB signature checking once signed 3.5 VIB available"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants