• Vitali Tatarintev's avatar
    Fix Rubocop complains · 704dd1d4
    Vitali Tatarintev authored
    Fixes:
    
    1. You specified required: true, in Rails > 5.0 the required option
       is deprecated and you want to use optional: false.
       In most configurations, this is the default
       and you can omit this option altogether
    
    2. Enum defined as an array found in operator enum declaration.
       Use hash syntax instead.
    704dd1d4
prometheus_alert.rb 2.04 KB