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

Schema validation warning #525

Open
rstefan1 opened this issue Aug 13, 2020 · 1 comment
Open

Schema validation warning #525

rstefan1 opened this issue Aug 13, 2020 · 1 comment

Comments

@rstefan1
Copy link

Schema validation does not work as expected.

I get the following error:

=== SCHEMA VALIDATION WARNING ===
WARNING: Schema is incompatible with the latest deployer, would fail with:

Traceback (most recent call last):
  File "/bin/validate_schema.py", line 35, in <module>
    main()
  File "/bin/validate_schema.py", line 31, in main
    schema_values_common.load_schema_and_validate(args)
  File "/bin/schema_values_common.py", line 65, in load_schema_and_validate
    return load_schema(parsed_args.schema_file).validate()
  File "/bin/schema_values_common.py", line 53, in memoized_func
    cache[key] = func(*args, **kwargs)
  File "/bin/schema_values_common.py", line 61, in load_schema
    return config_helper.Schema.load_yaml_file(parsed_args.schema_file)
AttributeError: 'str' object has no attribute 'schema_file'
==================================

@cbandy
Copy link

cbandy commented Dec 22, 2020

Fixed in #528.

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 a pull request may close this issue.

2 participants