]> git.stg.codes - stg.git/commitdiff
Ticket. The line for the 'change policy' value output added in the
authorElena Mamontova <helenh463@gmail.com>
Tue, 12 Jul 2016 09:47:10 +0000 (12:47 +0300)
committerElena Mamontova <helenh463@gmail.com>
Tue, 12 Jul 2016 09:47:10 +0000 (12:47 +0300)
PrintTariffConf() function.

projects/sgconf/tariffs.cpp

index df778f389b656d9aa87efd42c6d4b8d42a5f6b3b..36f325eacbace81f0b627d22d403eac81548e52f 100644 (file)
@@ -226,7 +226,8 @@ std::cout << Indent(level, true) << "name: " << conf.name << "\n"
           << Indent(level)       << "free mb: " << conf.free << "\n"
           << Indent(level)       << "passive cost: " << conf.passiveCost << "\n"
           << Indent(level)       << "traff type: " << TraffTypeToString(conf.traffType) << "\n"
           << Indent(level)       << "free mb: " << conf.free << "\n"
           << Indent(level)       << "passive cost: " << conf.passiveCost << "\n"
           << Indent(level)       << "traff type: " << TraffTypeToString(conf.traffType) << "\n"
-          << Indent(level)       << "period: " << PeriodToString(conf.period) << "\n";
+          << Indent(level)       << "period: " << PeriodToString(conf.period) << "\n"
+          << Indent(level)       << "change policy: " << CyangePolicyToString(conf.changePolicy) << "\n";
 }
 
 void PrintTariff(const STG::GET_TARIFF::INFO & info, size_t level = 0)
 }
 
 void PrintTariff(const STG::GET_TARIFF::INFO & info, size_t level = 0)